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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_worker.h

Issue 309253002: [SyncFS] SyncWorker cache refresh token status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename again Created 6 years, 6 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/sync_file_system/drive_backend/sync_worker.h
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_worker.h b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
index 55ce5516f30d2d029f0abdb3c8f5479c41348f2b..64f0312dc62de4148ce8c1ebaafc7823e044a1f6 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_worker.h
+++ b/chrome/browser/sync_file_system/drive_backend/sync_worker.h
@@ -138,6 +138,8 @@ class SyncWorker : public SyncTaskManager::Client {
void AddObserver(Observer* observer);
private:
+ friend class SyncEngineTest;
+
void DoDisableApp(const std::string& app_id,
const SyncStatusCallback& callback);
void DoEnableApp(const std::string& app_id,
@@ -188,6 +190,8 @@ class SyncWorker : public SyncTaskManager::Client {
scoped_ptr<SyncEngineContext> context_;
ObserverList<Observer> observers_;
+ bool has_refresh_token_;
+
base::WeakPtrFactory<SyncWorker> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(SyncWorker);
};

Powered by Google App Engine
This is Rietveld 408576698