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

Unified Diff: chrome/browser/chromeos/system/automatic_reboot_manager.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/system/automatic_reboot_manager.h
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.h b/chrome/browser/chromeos/system/automatic_reboot_manager.h
index 1be4e2d3367abb8bc1480668df38da1a0178c5ab..fba9cc74b449b94446fe4aef4c2264c7359b3427 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager.h
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager.h
@@ -164,10 +164,10 @@ class AutomaticRebootManager : public PowerManagerClient::Observer,
scoped_ptr<base::OneShotTimer<AutomaticRebootManager> > grace_start_timer_;
scoped_ptr<base::OneShotTimer<AutomaticRebootManager> > grace_end_timer_;
- base::WeakPtrFactory<AutomaticRebootManager> weak_ptr_factory_;
-
ObserverList<AutomaticRebootManagerObserver, true> observers_;
+ base::WeakPtrFactory<AutomaticRebootManager> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(AutomaticRebootManager);
};
« no previous file with comments | « chrome/browser/chromeos/settings/session_manager_operation.cc ('k') | chrome/browser/chromeos/ui/idle_logout_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698