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

Unified Diff: extensions/browser/api/runtime/runtime_api.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: extensions/browser/api/runtime/runtime_api.cc
diff --git a/extensions/browser/api/runtime/runtime_api.cc b/extensions/browser/api/runtime/runtime_api.cc
index d69d518172bd6038ac79d2211865f9ce2b4e9699..f0d5bbc1b38eb12a704b48b9eb247bb2461c415f 100644
--- a/extensions/browser/api/runtime/runtime_api.cc
+++ b/extensions/browser/api/runtime/runtime_api.cc
@@ -40,7 +40,7 @@ using content::BrowserContext;
namespace extensions {
-namespace runtime = core_api::runtime;
+namespace runtime = api::runtime;
namespace {
@@ -375,14 +375,14 @@ void RuntimeEventRouter::DispatchOnBrowserUpdateAvailableEvent(
void RuntimeEventRouter::DispatchOnRestartRequiredEvent(
content::BrowserContext* context,
const std::string& app_id,
- core_api::runtime::OnRestartRequiredReason reason) {
+ api::runtime::OnRestartRequiredReason reason) {
ExtensionSystem* system = ExtensionSystem::Get(context);
if (!system)
return;
scoped_ptr<Event> event(
new Event(events::UNKNOWN, runtime::OnRestartRequired::kEventName,
- core_api::runtime::OnRestartRequired::Create(reason)));
+ api::runtime::OnRestartRequired::Create(reason)));
EventRouter* event_router = EventRouter::Get(context);
DCHECK(event_router);
event_router->DispatchEventToExtension(app_id, event.Pass());

Powered by Google App Engine
This is Rietveld 408576698