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

Unified Diff: extensions/common/switches.cc

Issue 657023008: Add a new field "source" in launchData of chrome.app.runtime.onLaunched() to trace launch source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/common/switches.cc
diff --git a/extensions/common/switches.cc b/extensions/common/switches.cc
index 23fd19870f09b758754a52b5a704986ad0aef539..773597109038c801169c140294e5e755e0e24336 100644
--- a/extensions/common/switches.cc
+++ b/extensions/common/switches.cc
@@ -99,6 +99,9 @@ const char kShowComponentExtensionOptions[] =
// Adds the given extension ID to all the permission whitelists.
const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
+// Pass launch source to platform apps.
+const char kTraceAppSource[] = "enable-trace-app-source";
+
} // namespace switches
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698