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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/common/switches.h" 5 #include "extensions/common/switches.h"
6 6
7 namespace extensions { 7 namespace extensions {
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // as --scripts-require-action=1. 88 // as --scripts-require-action=1.
89 const char kEnableScriptsRequireAction[] = "enable-scripts-require-action"; 89 const char kEnableScriptsRequireAction[] = "enable-scripts-require-action";
90 90
91 // Makes component extensions appear in chrome://settings/extensions. 91 // Makes component extensions appear in chrome://settings/extensions.
92 const char kShowComponentExtensionOptions[] = 92 const char kShowComponentExtensionOptions[] =
93 "show-component-extension-options"; 93 "show-component-extension-options";
94 94
95 // Adds the given extension ID to all the permission whitelists. 95 // Adds the given extension ID to all the permission whitelists.
96 const char kWhitelistedExtensionID[] = "whitelisted-extension-id"; 96 const char kWhitelistedExtensionID[] = "whitelisted-extension-id";
97 97
98 // Pass launch source to platform apps.
99 const char kTraceAppSource[] = "trace-app-source";
benwells 2014/10/28 21:22:48 This should be --enable-something.
cylee1 2014/10/29 16:40:00 Done.
100
98 } // namespace switches 101 } // namespace switches
99 102
100 } // namespace extensions 103 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698