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

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

Issue 10388239: Make NetworkProfileBubble not use BrowserList::GetLastActive() as much. Instead pass it a profile a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/extension_browser_event_router.h
===================================================================
--- chrome/browser/extensions/extension_browser_event_router.h (revision 138102)
+++ chrome/browser/extensions/extension_browser_event_router.h (working copy)
@@ -48,9 +48,9 @@
void Init(ExtensionToolbarModel* model);
// BrowserList::Observer
- virtual void OnBrowserAdded(const Browser* browser) OVERRIDE;
- virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE;
- virtual void OnBrowserSetLastActive(const Browser* browser) OVERRIDE;
+ virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
+ virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
+ virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE;
#if defined(TOOLKIT_VIEWS)
virtual void OnNativeFocusChange(gfx::NativeView focused_before,
@@ -61,7 +61,7 @@
// Called from Observe() on BROWSER_WINDOW_READY (not a part of
// BrowserList::Observer).
- void OnBrowserWindowReady(const Browser* browser);
+ void OnBrowserWindowReady(Browser* browser);
// TabStripModelObserver
virtual void TabInsertedAt(TabContentsWrapper* contents, int index,
@@ -162,7 +162,7 @@
// Register ourselves to receive the various notifications we are interested
// in for a browser.
- void RegisterForBrowserNotifications(const Browser* browser);
+ void RegisterForBrowserNotifications(Browser* browser);
// Register ourselves to receive the various notifications we are interested
// in for a tab.

Powered by Google App Engine
This is Rietveld 408576698