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

Unified Diff: chrome/browser/sync_file_system/drive_file_sync_service.h

Issue 11416279: Return AUTHENTICATION_FAILED error if Drive operation has failed and user is not signed in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 1 month 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/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync_file_system/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_file_sync_service.h
index 04ddeffcb4f1dcac5ab94f7a447c0ba291094eb3..adeb56025cc9982645b0a4f12eed6459eecb30c3 100644
--- a/chrome/browser/sync_file_system/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_file_sync_service.h
@@ -287,6 +287,11 @@ class DriveFileSyncService
bool GetPendingChangeForFileSystemURL(const fileapi::FileSystemURL& url,
RemoteChange* change) const;
+ // A wrapper implementation to GDataErrorCodeToSyncStatusCode which returns
+ // authentication error if the user is not signed in.
+ fileapi::SyncStatusCode GDataErrorCodeToSyncStatusCodeWrapper(
+ google_apis::GDataErrorCode error) const;
+
FilePath temporary_file_dir_;
scoped_ptr<DriveMetadataStore> metadata_store_;
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698