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

Unified Diff: chrome/browser/extensions/api/tabs/tabs_windows_api.h

Issue 23724026: BrowserEventRouter -> TabsEventRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/extensions/api/tabs/tabs_windows_api.h
diff --git a/chrome/browser/extensions/api/tabs/tabs_windows_api.h b/chrome/browser/extensions/api/tabs/tabs_windows_api.h
index ba794694fe00cf777cdae2c23ea795351203de5d..7f8873ec09c4672c70a49bf0197da588db5b46ec 100644
--- a/chrome/browser/extensions/api/tabs/tabs_windows_api.h
+++ b/chrome/browser/extensions/api/tabs/tabs_windows_api.h
@@ -11,10 +11,10 @@
#include "components/browser_context_keyed_service/browser_context_keyed_service.h"
namespace extensions {
+class TabsEventRouter;
class WindowsEventRouter;
-class TabsWindowsAPI : public ProfileKeyedAPI,
- public extensions::EventRouter::Observer {
+class TabsWindowsAPI : public ProfileKeyedAPI, public EventRouter::Observer {
public:
explicit TabsWindowsAPI(Profile* profile);
virtual ~TabsWindowsAPI();
@@ -22,6 +22,7 @@ class TabsWindowsAPI : public ProfileKeyedAPI,
// Convenience method to get the TabsWindowsAPI for a profile.
static TabsWindowsAPI* Get(Profile* profile);
+ TabsEventRouter* tabs_event_router();
WindowsEventRouter* windows_event_router();
// BrowserContextKeyedService implementation.
@@ -45,6 +46,7 @@ class TabsWindowsAPI : public ProfileKeyedAPI,
}
static const bool kServiceIsNULLWhileTesting = true;
+ scoped_ptr<TabsEventRouter> tabs_event_router_;
scoped_ptr<WindowsEventRouter> windows_event_router_;
};

Powered by Google App Engine
This is Rietveld 408576698