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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_update_service.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
Index: chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
index beefd31e42b50cdfe51f2e795c09251b97a8fab4..14f6f5e9d2fdaaaebd268fe85c954d859a4df569 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc
@@ -97,24 +97,23 @@ void KioskAppUpdateService::OnAppUpdateAvailable(
app_id_, profile_, extension);
extensions::RuntimeEventRouter::DispatchOnRestartRequiredEvent(
- profile_,
- app_id_,
- extensions::core_api::runtime::ON_RESTART_REQUIRED_REASON_APP_UPDATE);
+ profile_, app_id_,
+ extensions::api::runtime::ON_RESTART_REQUIRED_REASON_APP_UPDATE);
StartAppUpdateRestartTimer();
}
void KioskAppUpdateService::OnRebootRequested(Reason reason) {
- extensions::core_api::runtime::OnRestartRequiredReason restart_reason =
- extensions::core_api::runtime::ON_RESTART_REQUIRED_REASON_NONE;
+ extensions::api::runtime::OnRestartRequiredReason restart_reason =
+ extensions::api::runtime::ON_RESTART_REQUIRED_REASON_NONE;
switch (reason) {
case REBOOT_REASON_OS_UPDATE:
restart_reason =
- extensions::core_api::runtime::ON_RESTART_REQUIRED_REASON_OS_UPDATE;
+ extensions::api::runtime::ON_RESTART_REQUIRED_REASON_OS_UPDATE;
break;
case REBOOT_REASON_PERIODIC:
restart_reason =
- extensions::core_api::runtime::ON_RESTART_REQUIRED_REASON_PERIODIC;
+ extensions::api::runtime::ON_RESTART_REQUIRED_REASON_PERIODIC;
break;
default:
NOTREACHED() << "Unknown reboot reason=" << reason;
@@ -135,9 +134,8 @@ void KioskAppUpdateService::OnKioskAppCacheUpdated(const std::string& app_id) {
return;
extensions::RuntimeEventRouter::DispatchOnRestartRequiredEvent(
- profile_,
- app_id_,
- extensions::core_api::runtime::ON_RESTART_REQUIRED_REASON_APP_UPDATE);
+ profile_, app_id_,
+ extensions::api::runtime::ON_RESTART_REQUIRED_REASON_APP_UPDATE);
StartAppUpdateRestartTimer();
}
« no previous file with comments | « chrome/browser/apps/ephemeral_app_browsertest.cc ('k') | chrome/browser/chromeos/policy/power_policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698