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

Unified Diff: chrome/browser/io_thread.h

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master Created 8 years, 5 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 | « chrome/browser/history/history_extension_api.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index 7e04ceb737939625a809da45e944580b47df7a7d..e4e4faf420f35ab64e0cf23b2e318ef324da1159 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -19,7 +19,6 @@
#include "net/base/network_change_notifier.h"
class ChromeNetLog;
-class ExtensionEventRouterForwarder;
class PrefProxyConfigTrackerImpl;
class PrefService;
class SystemURLRequestContextGetter;
@@ -28,6 +27,10 @@ namespace chrome_browser_net {
class HttpPipeliningCompatibilityClient;
}
+namespace extensions {
+class EventRouterForwarder;
+}
+
namespace net {
class CertVerifier;
class CookieStore;
@@ -104,7 +107,7 @@ class IOThread : public content::BrowserThreadDelegate {
// between |proxy_script_fetcher_context| and |system_request_context|.
scoped_refptr<net::CookieStore> system_cookie_store;
scoped_ptr<net::ServerBoundCertService> system_server_bound_cert_service;
- scoped_refptr<ExtensionEventRouterForwarder>
+ scoped_refptr<extensions::EventRouterForwarder>
extension_event_router_forwarder;
scoped_ptr<chrome_browser_net::HttpPipeliningCompatibilityClient>
http_pipelining_compatibility_client;
@@ -113,7 +116,7 @@ class IOThread : public content::BrowserThreadDelegate {
// |net_log| must either outlive the IOThread or be NULL.
IOThread(PrefService* local_state,
ChromeNetLog* net_log,
- ExtensionEventRouterForwarder* extension_event_router_forwarder);
+ extensions::EventRouterForwarder* extension_event_router_forwarder);
virtual ~IOThread();
@@ -168,9 +171,9 @@ class IOThread : public content::BrowserThreadDelegate {
// threads during shutdown, but is used most frequently on the IOThread.
ChromeNetLog* net_log_;
- // The ExtensionEventRouterForwarder allows for sending events to extensions
- // from the IOThread.
- ExtensionEventRouterForwarder* extension_event_router_forwarder_;
+ // The extensions::EventRouterForwarder allows for sending events to
+ // extensions from the IOThread.
+ extensions::EventRouterForwarder* extension_event_router_forwarder_;
// These member variables are basically global, but their lifetimes are tied
// to the IOThread. IOThread owns them all, despite not using scoped_ptr.
« no previous file with comments | « chrome/browser/history/history_extension_api.cc ('k') | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698