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

Unified Diff: chrome/browser/chromeos/drive/file_system.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
« no previous file with comments | « chrome/browser/chromeos/drive/file_cache_unittest.cc ('k') | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system.h
diff --git a/chrome/browser/chromeos/drive/file_system.h b/chrome/browser/chromeos/drive/file_system.h
index d980ee318c1829321c0a869ccf56856dbd4e7afd..40bc7a6b90c086d03cb1db8366226e946e3cb947 100644
--- a/chrome/browser/chromeos/drive/file_system.h
+++ b/chrome/browser/chromeos/drive/file_system.h
@@ -163,6 +163,8 @@ class FileSystem : public FileSystemInterface,
// file_system::OperationObserver overrides.
virtual void OnDirectoryChangedByOperation(
const base::FilePath& directory_path) OVERRIDE;
+ virtual void OnCacheFileUploadNeededByOperation(
+ const std::string& resource_id) OVERRIDE;
// ChangeListLoader::Observer overrides.
// Used to propagate events from ChangeListLoader.
@@ -176,9 +178,10 @@ class FileSystem : public FileSystemInterface,
return change_list_loader_.get();
}
- private:
- friend class DriveFileSystemTest;
+ // Used by tests.
+ internal::SyncClient* sync_client_for_testing() { return sync_client_.get(); }
+ private:
// Used to implement Reload().
void ReloadAfterReset(FileError error);
@@ -239,9 +242,6 @@ class FileSystem : public FileSystemInterface,
const FileOperationCallback& callback,
FileError error,
scoped_ptr<ResourceEntry> entry);
- void CloseFileFinalize(const base::FilePath& file_path,
- const FileOperationCallback& callback,
- FileError result);
// Callback for handling about resource fetch.
void OnGetAboutResource(
« no previous file with comments | « chrome/browser/chromeos/drive/file_cache_unittest.cc ('k') | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698