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

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

Issue 2249213002: [OBSOLETE] Reporting: Initial implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years 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 (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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 const char kDisablePrintPreview[] = "disable-print-preview"; 265 const char kDisablePrintPreview[] = "disable-print-preview";
266 266
267 // Normally when the user attempts to navigate to a page that was the result of 267 // Normally when the user attempts to navigate to a page that was the result of
268 // a post we prompt to make sure they want to. This switch may be used to 268 // a post we prompt to make sure they want to. This switch may be used to
269 // disable that check. This switch is used during automated testing. 269 // disable that check. This switch is used during automated testing.
270 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 270 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
271 271
272 // Enable background mode for the Push API. 272 // Enable background mode for the Push API.
273 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; 273 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode";
274 274
275 // Disable Reporting API.
276 const char kDisableReporting[] = "disable-reporting";
277
275 // Disables the QUIC protocol. 278 // Disables the QUIC protocol.
276 const char kDisableQuic[] = "disable-quic"; 279 const char kDisableQuic[] = "disable-quic";
277 280
278 // Disable settings in a separate browser window per profile 281 // Disable settings in a separate browser window per profile
279 // (see SettingsWindowEnabled() below). 282 // (see SettingsWindowEnabled() below).
280 const char kDisableSettingsWindow[] = "disable-settings-window"; 283 const char kDisableSettingsWindow[] = "disable-settings-window";
281 284
282 // Disables Web Notification custom layouts. 285 // Disables Web Notification custom layouts.
283 const char kDisableWebNotificationCustomLayouts[] = 286 const char kDisableWebNotificationCustomLayouts[] =
284 "disable-web-notification-custom-layouts"; 287 "disable-web-notification-custom-layouts";
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // Some tracking will still take place at startup, but it will be turned off 414 // Some tracking will still take place at startup, but it will be turned off
412 // during chrome_browser_main. 415 // during chrome_browser_main.
413 const char kEnableProfiling[] = "enable-profiling"; 416 const char kEnableProfiling[] = "enable-profiling";
414 417
415 // Enable background mode for the Push API. 418 // Enable background mode for the Push API.
416 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode"; 419 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode";
417 420
418 // Enables the QUIC protocol. This is a temporary testing flag. 421 // Enables the QUIC protocol. This is a temporary testing flag.
419 const char kEnableQuic[] = "enable-quic"; 422 const char kEnableQuic[] = "enable-quic";
420 423
424 // Enable Reporting API.
425 const char kEnableReporting[] = "enable-reporting";
426
421 // Switches 'Save as...' context and app menu labels to 'Download...'. 427 // Switches 'Save as...' context and app menu labels to 'Download...'.
422 const char kEnableSaveAsMenuLabelExperiment[] = "saveas-menu-label"; 428 const char kEnableSaveAsMenuLabelExperiment[] = "saveas-menu-label";
423 429
424 // Enable settings in a separate browser window per profile 430 // Enable settings in a separate browser window per profile
425 // (see SettingsWindowEnabled() below). 431 // (see SettingsWindowEnabled() below).
426 const char kEnableSettingsWindow[] = "enable-settings-window"; 432 const char kEnableSettingsWindow[] = "enable-settings-window";
427 433
428 // Enable the Site Engagement Eviction Policy which evicts temporary storage 434 // Enable the Site Engagement Eviction Policy which evicts temporary storage
429 // using the site engagement service. Implicitly enables the site engagement 435 // using the site engagement service. Implicitly enables the site engagement
430 // service. 436 // service.
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 1242
1237 // ----------------------------------------------------------------------------- 1243 // -----------------------------------------------------------------------------
1238 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1244 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1239 // 1245 //
1240 // You were going to just dump your switches here, weren't you? Instead, please 1246 // You were going to just dump your switches here, weren't you? Instead, please
1241 // put them in alphabetical order above, or in order inside the appropriate 1247 // put them in alphabetical order above, or in order inside the appropriate
1242 // ifdef at the bottom. The order should match the header. 1248 // ifdef at the bottom. The order should match the header.
1243 // ----------------------------------------------------------------------------- 1249 // -----------------------------------------------------------------------------
1244 1250
1245 } // namespace switches 1251 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/net.gypi » ('j') | net/net.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698