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

Unified Diff: chrome/browser/extensions/system/system_api.cc

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
Index: chrome/browser/extensions/system/system_api.cc
diff --git a/chrome/browser/extensions/system/system_api.cc b/chrome/browser/extensions/system/system_api.cc
index 14923a3dd5a5faa136b517b86d87de2ee89d1a97..b96cf30bc6bed8d2d453c9651f0166c70e931f95 100644
--- a/chrome/browser/extensions/system/system_api.cc
+++ b/chrome/browser/extensions/system/system_api.cc
@@ -6,7 +6,7 @@
#include "base/json/json_writer.h"
#include "base/values.h"
-#include "chrome/browser/extensions/extension_event_router.h"
+#include "chrome/browser/extensions/event_router.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -53,7 +53,7 @@ void DispatchEvent(const std::string& event_name, const ListValue& args) {
Profile* profile = ProfileManager::GetDefaultProfile();
if (!profile)
return;
- ExtensionEventRouter* extension_event_router =
+ extensions::EventRouter* extension_event_router =
profile->GetExtensionEventRouter();
if (!extension_event_router)
return;
« no previous file with comments | « chrome/browser/extensions/settings/settings_test_util.cc ('k') | chrome/browser/extensions/test_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698