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

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: rebase 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_file_system.h (revision 149987)
+++ chrome/browser/chromeos/gdata/gdata_file_system.h (working copy)
@@ -38,10 +38,6 @@
struct GetDocumentsUiState;
struct UploadFileInfo;
-namespace {
-struct LoadRootFeedParams;
-} // namespace
-
// Callback run as a response to LoadFromServer.
//
// TODO(satorux): Move this to a new file: crbug.com/138268
@@ -143,6 +139,11 @@
// 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,
+ GDataFileError error);
+
// 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.
@@ -172,13 +173,13 @@
GDataErrorCode status,
scoped_ptr<base::Value> data);
+ // Save filesystem to disk.
+ void SaveFileSystem();
+
// Callback for handling UI updates caused by document fetching.
void OnNotifyDocumentFeedFetched(
base::WeakPtr<GetDocumentsUiState> ui_state);
- // Save filesystem as proto file.
- void SaveFileSystemAsProto();
-
GDataDirectoryService* directory_service_; // Not owned.
DocumentsServiceInterface* documents_service_; // Not owned.
DriveWebAppsRegistryInterface* webapps_registry_; // Not owned.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698