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

Unified Diff: chrome/browser/extensions/window_event_router.h

Issue 11366074: Coalesce event router Init calls into their constructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: aa Created 8 years, 1 month 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/extensions/extension_service.cc ('k') | chrome/browser/extensions/window_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/window_event_router.h
diff --git a/chrome/browser/extensions/window_event_router.h b/chrome/browser/extensions/window_event_router.h
index a185132ec1aa722513d03836bfc4364d11b0febc..933dfe04402c512c5fd8fb8e2f93cf4d2b02c87a 100644
--- a/chrome/browser/extensions/window_event_router.h
+++ b/chrome/browser/extensions/window_event_router.h
@@ -39,9 +39,6 @@ class WindowEventRouter : public WindowControllerListObserver,
explicit WindowEventRouter(Profile* profile);
virtual ~WindowEventRouter();
- // Must be called once. Subsequent calls have no effect.
- void Init();
-
// WindowControllerListObserver methods:
virtual void OnWindowControllerAdded(
WindowController* window_controller) OVERRIDE;
@@ -69,7 +66,6 @@ class WindowEventRouter : public WindowControllerListObserver,
scoped_ptr<base::ListValue> args);
content::NotificationRegistrar registrar_;
- bool initialized_;
// The main profile that owns this event router.
Profile* profile_;
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | chrome/browser/extensions/window_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698