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

Unified Diff: chrome/browser/chromeos/policy/app_pack_updater.h

Issue 572873002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build break fixed 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/chromeos/policy/app_pack_updater.h
diff --git a/chrome/browser/chromeos/policy/app_pack_updater.h b/chrome/browser/chromeos/policy/app_pack_updater.h
index 54b43740580b75a86e8c82a63d53d66216750da2..2b83f54aeb75aa48ff4b8c3b2f178bf684619566 100644
--- a/chrome/browser/chromeos/policy/app_pack_updater.h
+++ b/chrome/browser/chromeos/policy/app_pack_updater.h
@@ -81,8 +81,6 @@ class AppPackUpdater : public chromeos::ExternalCache::Delegate {
// appropriate.
void SetScreenSaverPath(const base::FilePath& path);
- base::WeakPtrFactory<AppPackUpdater> weak_ptr_factory_;
-
// The extension ID and path of the CRX file of the screen saver extension,
// if it is configured by the policy. Otherwise these fields are empty.
std::string screen_saver_id_;
@@ -106,6 +104,8 @@ class AppPackUpdater : public chromeos::ExternalCache::Delegate {
scoped_ptr<chromeos::CrosSettings::ObserverSubscription>
app_pack_subscription_;
+ base::WeakPtrFactory<AppPackUpdater> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AppPackUpdater);
};
« no previous file with comments | « chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.cc ('k') | chrome/browser/chromeos/policy/app_pack_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698