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

Unified Diff: chrome/browser/extensions/api/idle/idle_manager.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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idle/idle_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/idle/idle_manager.h
diff --git a/chrome/browser/extensions/api/idle/idle_manager.h b/chrome/browser/extensions/api/idle/idle_manager.h
index 4752917ecd840ff50946912ff73688c4ff39a498..29a9bd1dd2ffbb1f3e7655ae240e4a1bbcffe0c1 100644
--- a/chrome/browser/extensions/api/idle/idle_manager.h
+++ b/chrome/browser/extensions/api/idle/idle_manager.h
@@ -126,7 +126,6 @@ class IdleManager : public ExtensionRegistryObserver,
MonitorMap monitors_;
base::RepeatingTimer<IdleManager> poll_timer_;
- base::WeakPtrFactory<IdleManager> weak_factory_;
scoped_ptr<IdleTimeProvider> idle_time_provider_;
scoped_ptr<EventDelegate> event_delegate_;
@@ -137,6 +136,8 @@ class IdleManager : public ExtensionRegistryObserver,
ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
extension_registry_observer_;
+ base::WeakPtrFactory<IdleManager> weak_factory_;
+
DISALLOW_COPY_AND_ASSIGN(IdleManager);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/api/idle/idle_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698