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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 26594002: Chrome sync: Put WeakPtrFactory members at the end (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge (see prior patch for try jobs) Created 7 years, 2 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index bb863acc085dff9d4341d7f3620cb9f15fe46282..fe0519d3bf8c17aada94144bdff62272a7f79dbf 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -893,8 +893,6 @@ class ProfileSyncService : public ProfileSyncServiceBase,
content::NotificationRegistrar registrar_;
- base::WeakPtrFactory<ProfileSyncService> weak_factory_;
-
// This allows us to gracefully handle an ABORTED return code from the
// DataTypeManager in the event that the server informed us to cease and
// desist syncing immediately.
@@ -978,6 +976,8 @@ class ProfileSyncService : public ProfileSyncServiceBase,
base::OneShotTimer<ProfileSyncService> request_access_token_retry_timer_;
net::BackoffEntry request_access_token_backoff_;
+ base::WeakPtrFactory<ProfileSyncService> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
};

Powered by Google App Engine
This is Rietveld 408576698