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

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

Issue 10800092: Database support for GDataDirectoryService. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_file_system.h (revision 149888)
+++ chrome/browser/chromeos/gdata/gdata_file_system.h (working copy)
@@ -37,10 +37,6 @@
struct GetDocumentsParams;
struct UploadFileInfo;
-namespace {
-struct LoadRootFeedParams;
-} // namespace
-
// Callback run as a response to LoadFromServer.
//
// TODO(satorux): Move this to a new file: crbug.com/138268
@@ -142,6 +138,10 @@
// Callback for handling root directory refresh from the cache.
void OnProtoLoaded(LoadRootFeedParams* params);
+ // Continues handling root directory refresh after the directory service
+ // is fully loaded.
+ void ContinueWithInitializedDirectoryService(LoadRootFeedParams* params);
+
// Helper callback for handling results of metadata retrieval initiated from
// ReloadFeedFromServerIfNeeded(). This method makes a decision about fetching
// the content of the root feed during the root directory refresh process.
@@ -171,8 +171,8 @@
GDataErrorCode status,
scoped_ptr<base::Value> data);
- // Save filesystem as proto file.
- void SaveFileSystemAsProto();
+ // Save filesystem to disk.
+ void SaveFileSystem();
GDataDirectoryService* directory_service_; // Not owned.
DocumentsServiceInterface* documents_service_; // Not owned.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698