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

Unified Diff: extensions/browser/api/app_runtime/app_runtime_api.cc

Issue 720633003: Revert of CL 722703002 due to build breakage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert Created 6 years, 1 month 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 | « components/sessions/OWNERS ('k') | extensions/common/api/app_runtime.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/app_runtime/app_runtime_api.cc
diff --git a/extensions/browser/api/app_runtime/app_runtime_api.cc b/extensions/browser/api/app_runtime/app_runtime_api.cc
index 6cb7c716e9aa935192803b4fc048f1ecfd577fb8..13ac1beb5516add75e1a900db48bae946c8e55a8 100644
--- a/extensions/browser/api/app_runtime/app_runtime_api.cc
+++ b/extensions/browser/api/app_runtime/app_runtime_api.cc
@@ -83,24 +83,13 @@ app_runtime::LaunchSource getLaunchSourceEnum(
return app_runtime::LAUNCH_SOURCE_FILE_HANDLER;
case extensions::SOURCE_URL_HANDLER:
return app_runtime::LAUNCH_SOURCE_URL_HANDLER;
+
case extensions::SOURCE_SYSTEM_TRAY:
return app_runtime::LAUNCH_SOURCE_SYSTEM_TRAY;
case extensions::SOURCE_ABOUT_PAGE:
return app_runtime::LAUNCH_SOURCE_ABOUT_PAGE;
case extensions::SOURCE_KEYBOARD:
return app_runtime::LAUNCH_SOURCE_KEYBOARD;
- case extensions::SOURCE_EXTENSIONS_PAGE:
- return app_runtime::LAUNCH_SOURCE_EXTENSIONS_PAGE;
- case extensions::SOURCE_MANAGEMENT_API:
- return app_runtime::LAUNCH_SOURCE_MANAGEMENT_API;
- case extensions::SOURCE_EPHEMERAL_APP:
- return app_runtime::LAUNCH_SOURCE_EPHEMERAL_APP;
- case extensions::SOURCE_BACKGROUND:
- return app_runtime::LAUNCH_SOURCE_BACKGROUND;
- case extensions::SOURCE_KIOSK:
- return app_runtime::LAUNCH_SOURCE_KIOSK;
- case extensions::SOURCE_CHROME_INTERNAL:
- return app_runtime::LAUNCH_SOURCE_CHROME_INTERNAL;
default:
return app_runtime::LAUNCH_SOURCE_NONE;
« no previous file with comments | « components/sessions/OWNERS ('k') | extensions/common/api/app_runtime.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698