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

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

Issue 87463002: Only re-enable remote service if the task used the network. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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
Index: chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
diff --git a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
index f56148287f9ef19768fc4849fba7b28160fc0ff2..9df1eff3fc4977be7146158e8c5402324c837dbf 100644
--- a/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
+++ b/chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service.h
@@ -135,7 +135,9 @@ class DriveFileSyncService : public RemoteFileSyncService,
// SyncTaskManager::Client overrides.
virtual void MaybeScheduleNextTask() OVERRIDE;
- virtual void NotifyLastOperationStatus(SyncStatusCode sync_status) OVERRIDE;
+ virtual void NotifyLastOperationStatus(
+ SyncStatusCode sync_status,
+ bool used_network) OVERRIDE;
static std::string PathToTitle(const base::FilePath& path);
static base::FilePath TitleToPath(const std::string& title);

Powered by Google App Engine
This is Rietveld 408576698