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

Unified Diff: components/webdata/common/web_database_service.h

Issue 122543002: Ensure WeakPtrFactories are at the end of their owning classes and refer (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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
« no previous file with comments | « chrome/browser/intranet_redirect_detector.cc ('k') | components/webdata/common/web_database_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/webdata/common/web_database_service.h
===================================================================
--- components/webdata/common/web_database_service.h (revision 242728)
+++ components/webdata/common/web_database_service.h (working copy)
@@ -135,9 +135,6 @@
// PostTask on DB thread may outlive us.
scoped_refptr<WebDataServiceBackend> wds_backend_;
- // All vended weak pointers are invalidated in ShutdownDatabase().
- base::WeakPtrFactory<WebDatabaseService> weak_ptr_factory_;
-
// Callbacks to be called once the DB has loaded.
LoadedCallbacks loaded_callbacks_;
@@ -149,6 +146,9 @@
scoped_refptr<base::MessageLoopProxy> db_thread_;
+ // All vended weak pointers are invalidated in ShutdownDatabase().
+ base::WeakPtrFactory<WebDatabaseService> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(WebDatabaseService);
};
« no previous file with comments | « chrome/browser/intranet_redirect_detector.cc ('k') | components/webdata/common/web_database_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698