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

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: rebase 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
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.h ('k') | extensions/browser/api/runtime/runtime_api_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17660039b08a7f74b8634576e74724263739564f..09ffef2c864b5d6d902beb76f8d51d6eba2fc33e 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 {
@@ -378,7 +378,7 @@ 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;
@@ -386,7 +386,7 @@ void RuntimeEventRouter::DispatchOnRestartRequiredEvent(
scoped_ptr<Event> event(
new Event(events::RUNTIME_ON_RESTART_REQUIRED,
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());
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.h ('k') | extensions/browser/api/runtime/runtime_api_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698