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

Unified Diff: sync/internal_api/sync_manager_impl.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: sync/internal_api/sync_manager_impl.h
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h
index 0283065f8a6fde76fa9ccd7c21c58752caca81d0..d9dd54249072abbd2d410dc8fc7e7f09be496bc0 100644
--- a/sync/internal_api/sync_manager_impl.h
+++ b/sync/internal_api/sync_manager_impl.h
@@ -285,8 +285,6 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
base::ThreadChecker thread_checker_;
- base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
-
// Thread-safe handle used by
// HandleCalculateChangesChangeEventFromSyncApi(), which can be
// called from any thread. Valid only between between calls to
@@ -367,6 +365,8 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl :
// with the cryptographer.
scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
+ base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698