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

Unified Diff: chrome/browser/chromeos/gdata/gdata_file_system_proxy.h

Issue 10836137: gdata: Remove hide_hosted_documents from ReadDirectoryCallback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 4 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/gdata/gdata_file_system_proxy.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.h b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.h
index 48b0f8cdd48d37b7524943f6d300cc86795cc14b..f3fb3f734391ea978ead473c86b8d9b83bf0e945 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system_proxy.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system_proxy.h
@@ -13,6 +13,8 @@ namespace fileapi {
class FileSystemURL;
}
+class Profile;
+
namespace gdata {
class GDataEntryProto;
@@ -22,7 +24,8 @@ class GDataFileSystemInterface;
class GDataFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface {
public:
// |file_system| is the GDataFileSystem instance owned by GDataSystemService.
- explicit GDataFileSystemProxy(GDataFileSystemInterface* file_system);
+ explicit GDataFileSystemProxy(GDataFileSystemInterface* file_system,
+ Profile* profile);
// fileapi::RemoteFileSystemProxyInterface overrides.
virtual void GetFileInfo(
@@ -117,7 +120,6 @@ class GDataFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface {
const fileapi::FileSystemOperationInterface::ReadDirectoryCallback&
callback,
GDataFileError error,
- bool hide_hosted_documents,
scoped_ptr<gdata::GDataEntryProtoVector> proto_entries);
// Helper callback for relaying reply for CreateWritableSnapshotFile() to
@@ -183,6 +185,9 @@ class GDataFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface {
// removed, the file manager is already gone). Hence it's safe to use this as
// a raw pointer.
GDataFileSystemInterface* file_system_;
+
+ // Profile associated with the file system proxy.
+ Profile* profile_; // Not owned.
};
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_interface.h ('k') | chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698