Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(719)

Unified Diff: chrome/browser/chromeos/drive/file_system/operation_test_base.h

Issue 16628003: drive: Remove FileCacheObserver::OnCacheCommitted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix PinAndUnpin Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/file_system/operation_test_base.h
diff --git a/chrome/browser/chromeos/drive/file_system/operation_test_base.h b/chrome/browser/chromeos/drive/file_system/operation_test_base.h
index f0bd84df937def466180d82f99e347cebf893098..a35784e855c32a22516263d0498b11fcdb427111 100644
--- a/chrome/browser/chromeos/drive/file_system/operation_test_base.h
+++ b/chrome/browser/chromeos/drive/file_system/operation_test_base.h
@@ -23,7 +23,7 @@ class SequencedTaskRunner;
namespace google_apis {
class FakeDriveService;
-} // namespace googl_apis
+} // namespace google_apis
namespace drive {
@@ -51,14 +51,22 @@ class OperationTestBase : public testing::Test {
// OperationObserver overrides.
virtual void OnDirectoryChangedByOperation(
const base::FilePath& path) OVERRIDE;
+ virtual void OnCacheFileUploadNeededByOperation(
+ const std::string& resource_id) OVERRIDE;
// Gets the set of changed paths.
const std::set<base::FilePath>& get_changed_paths() {
return changed_paths_;
}
+ // Gets the set of upload needed resource IDs.
+ const std::set<std::string>& upload_needed_resource_ids() const {
+ return upload_needed_resource_ids_;
+ }
+
private:
std::set<base::FilePath> changed_paths_;
+ std::set<std::string> upload_needed_resource_ids_;
};
OperationTestBase();

Powered by Google App Engine
This is Rietveld 408576698