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

Unified Diff: chrome/browser/extensions/updater/extension_downloader.h

Issue 560913006: Changing the Weakptr initialization order in chrome/browser/extension folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/extensions/updater/extension_downloader.h
diff --git a/chrome/browser/extensions/updater/extension_downloader.h b/chrome/browser/extensions/updater/extension_downloader.h
index 813a400df11024df8dd6b5f4d2a64737a218d565..74d4594028800414a051c70100c8a802bf89e75b 100644
--- a/chrome/browser/extensions/updater/extension_downloader.h
+++ b/chrome/browser/extensions/updater/extension_downloader.h
@@ -253,9 +253,6 @@ class ExtensionDownloader
// The request context to use for the URLFetchers.
scoped_refptr<net::URLRequestContextGetter> request_context_;
- // Used to create WeakPtrs to |this|.
- base::WeakPtrFactory<ExtensionDownloader> weak_ptr_factory_;
-
// Collects UMA samples that are reported when ReportStats() is called.
URLStats url_stats_;
@@ -293,6 +290,9 @@ class ExtensionDownloader
// A pending token fetch request.
scoped_ptr<OAuth2TokenService::Request> access_token_request_;
+ // Used to create WeakPtrs to |this|.
+ base::WeakPtrFactory<ExtensionDownloader> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionDownloader);
};
« no previous file with comments | « chrome/browser/extensions/updater/extension_cache_impl.cc ('k') | chrome/browser/extensions/updater/extension_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698