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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2944283002: Replace --add-to-shelf flag with kAppBanners feature. (Closed)
Patch Set: Rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 // Triggers a plethora of diagnostic modes. 164 // Triggers a plethora of diagnostic modes.
165 const char kDiagnostics[] = "diagnostics"; 165 const char kDiagnostics[] = "diagnostics";
166 166
167 // Sets the output format for diagnostic modes enabled by diagnostics flag. 167 // Sets the output format for diagnostic modes enabled by diagnostics flag.
168 const char kDiagnosticsFormat[] = "diagnostics-format"; 168 const char kDiagnosticsFormat[] = "diagnostics-format";
169 169
170 // Tells the diagnostics mode to do the requested recovery step(s). 170 // Tells the diagnostics mode to do the requested recovery step(s).
171 const char kDiagnosticsRecovery[] = "diagnostics-recovery"; 171 const char kDiagnosticsRecovery[] = "diagnostics-recovery";
172 172
173 // Disables the display of a banner allowing the user to add a web
174 // app to their shelf (or platform-specific equivalent)
175 const char kDisableAddToShelf[] = "disable-add-to-shelf";
176
177 // Disable several subsystems which run network requests in the background. 173 // Disable several subsystems which run network requests in the background.
178 // This is for use when doing network performance testing to avoid noise in the 174 // This is for use when doing network performance testing to avoid noise in the
179 // measurements. 175 // measurements.
180 const char kDisableBackgroundNetworking[] = "disable-background-networking"; 176 const char kDisableBackgroundNetworking[] = "disable-background-networking";
181 177
182 // Disables the bundled PPAPI version of Flash. 178 // Disables the bundled PPAPI version of Flash.
183 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; 179 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash";
184 180
185 // Disables hardware encoding support for Cast Streaming. 181 // Disables hardware encoding support for Cast Streaming.
186 const char kDisableCastStreamingHWEncoding[] = 182 const char kDisableCastStreamingHWEncoding[] =
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 287
292 const char kDnsLogDetails[] = "dns-log-details"; 288 const char kDnsLogDetails[] = "dns-log-details";
293 289
294 // Requests that a running browser process dump its collected histograms to a 290 // Requests that a running browser process dump its collected histograms to a
295 // given file. The file is overwritten if it exists. 291 // given file. The file is overwritten if it exists.
296 const char kDumpBrowserHistograms[] = "dump-browser-histograms"; 292 const char kDumpBrowserHistograms[] = "dump-browser-histograms";
297 293
298 // Overrides the path of Easy Unlock component app. 294 // Overrides the path of Easy Unlock component app.
299 const char kEasyUnlockAppPath[] = "easy-unlock-app-path"; 295 const char kEasyUnlockAppPath[] = "easy-unlock-app-path";
300 296
301 // Enables the display of a banner allowing the user to add a web
302 // app to their shelf (or platform-specific equivalent)
303 const char kEnableAddToShelf[] = "enable-add-to-shelf";
304
305 // If the WebRTC logging private API is active, enables audio debug recordings. 297 // If the WebRTC logging private API is active, enables audio debug recordings.
306 const char kEnableAudioDebugRecordingsFromExtension[] = 298 const char kEnableAudioDebugRecordingsFromExtension[] =
307 "enable-audio-debug-recordings-from-extension"; 299 "enable-audio-debug-recordings-from-extension";
308 300
309 // Inform users that their browser is being controlled by an automated test. 301 // Inform users that their browser is being controlled by an automated test.
310 const char kEnableAutomation[] = "enable-automation"; 302 const char kEnableAutomation[] = "enable-automation";
311 303
312 // Enables the benchmarking extensions. 304 // Enables the benchmarking extensions.
313 const char kEnableBenchmarking[] = "enable-benchmarking"; 305 const char kEnableBenchmarking[] = "enable-benchmarking";
314 306
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 1166
1175 // ----------------------------------------------------------------------------- 1167 // -----------------------------------------------------------------------------
1176 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1168 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1177 // 1169 //
1178 // You were going to just dump your switches here, weren't you? Instead, please 1170 // You were going to just dump your switches here, weren't you? Instead, please
1179 // put them in alphabetical order above, or in order inside the appropriate 1171 // put them in alphabetical order above, or in order inside the appropriate
1180 // ifdef at the bottom. The order should match the header. 1172 // ifdef at the bottom. The order should match the header.
1181 // ----------------------------------------------------------------------------- 1173 // -----------------------------------------------------------------------------
1182 1174
1183 } // namespace switches 1175 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698