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

Unified Diff: sync/internal_api/sync_encryption_handler_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_encryption_handler_impl.h
diff --git a/sync/internal_api/sync_encryption_handler_impl.h b/sync/internal_api/sync_encryption_handler_impl.h
index 4b4e99b9ae373895e2d30f101d0d663f52ce3c71..89621c740582e347b6c46e1804cb92292eb979b9 100644
--- a/sync/internal_api/sync_encryption_handler_impl.h
+++ b/sync/internal_api/sync_encryption_handler_impl.h
@@ -265,8 +265,6 @@ class SYNC_EXPORT_PRIVATE SyncEncryptionHandlerImpl
base::ThreadChecker thread_checker_;
- base::WeakPtrFactory<SyncEncryptionHandlerImpl> weak_ptr_factory_;
-
ObserverList<SyncEncryptionHandler::Observer> observers_;
// The current user share (for creating transactions).
@@ -307,6 +305,8 @@ class SYNC_EXPORT_PRIVATE SyncEncryptionHandlerImpl
// before support for this field was added.
base::Time custom_passphrase_time_;
+ base::WeakPtrFactory<SyncEncryptionHandlerImpl> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(SyncEncryptionHandlerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698