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

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

Issue 2405493002: Clean up session crashed bubble field trial & switches. (Closed)
Patch Set: Add a crbug TODO. Created 4 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | 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 10
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Enable background mode for the Push API. 281 // Enable background mode for the Push API.
282 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; 282 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode";
283 283
284 // Disables the QUIC protocol. 284 // Disables the QUIC protocol.
285 const char kDisableQuic[] = "disable-quic"; 285 const char kDisableQuic[] = "disable-quic";
286 286
287 // Disable use of Chromium's port selection for the ephemeral port via bind(). 287 // Disable use of Chromium's port selection for the ephemeral port via bind().
288 // This only has an effect if QUIC protocol is enabled. 288 // This only has an effect if QUIC protocol is enabled.
289 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; 289 const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
290 290
291 // Disables using bubbles for session restore request.
292 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
293
294 // Disable settings in a separate browser window per profile 291 // Disable settings in a separate browser window per profile
295 // (see SettingsWindowEnabled() below). 292 // (see SettingsWindowEnabled() below).
296 const char kDisableSettingsWindow[] = "disable-settings-window"; 293 const char kDisableSettingsWindow[] = "disable-settings-window";
297 294
298 // Disables the Site Engagement service, which records interaction with sites 295 // Disables the Site Engagement service, which records interaction with sites
299 // and allocates certain resources accordingly. 296 // and allocates certain resources accordingly.
300 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; 297 const char kDisableSiteEngagementService[] = "disable-site-engagement-service";
301 298
302 // Disables Web Notification custom layouts. 299 // Disables Web Notification custom layouts.
303 const char kDisableWebNotificationCustomLayouts[] = 300 const char kDisableWebNotificationCustomLayouts[] =
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 // Enable background mode for the Push API. 447 // Enable background mode for the Push API.
451 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode"; 448 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode";
452 449
453 // Enables the QUIC protocol. This is a temporary testing flag. 450 // Enables the QUIC protocol. This is a temporary testing flag.
454 const char kEnableQuic[] = "enable-quic"; 451 const char kEnableQuic[] = "enable-quic";
455 452
456 // Enable use of Chromium's port selection for the ephemeral port via bind(). 453 // Enable use of Chromium's port selection for the ephemeral port via bind().
457 // This only has an effect if the QUIC protocol is enabled. 454 // This only has an effect if the QUIC protocol is enabled.
458 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; 455 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
459 456
460 // Enables using bubbles for session restore request instead of infobars.
461 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble";
462
463 // Enable settings in a separate browser window per profile 457 // Enable settings in a separate browser window per profile
464 // (see SettingsWindowEnabled() below). 458 // (see SettingsWindowEnabled() below).
465 const char kEnableSettingsWindow[] = "enable-settings-window"; 459 const char kEnableSettingsWindow[] = "enable-settings-window";
466 460
467 // Enable the Site Engagement App Banner which triggers app install banners 461 // Enable the Site Engagement App Banner which triggers app install banners
468 // using the site engagement service rather than a navigation-based heuristic. 462 // using the site engagement service rather than a navigation-based heuristic.
469 // Implicitly enables the site engagement service. 463 // Implicitly enables the site engagement service.
470 const char kEnableSiteEngagementAppBanner[] = 464 const char kEnableSiteEngagementAppBanner[] =
471 "enable-site-engagement-app-banner"; 465 "enable-site-engagement-app-banner";
472 466
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 1336
1343 // ----------------------------------------------------------------------------- 1337 // -----------------------------------------------------------------------------
1344 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1338 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1345 // 1339 //
1346 // You were going to just dump your switches here, weren't you? Instead, please 1340 // You were going to just dump your switches here, weren't you? Instead, please
1347 // put them in alphabetical order above, or in order inside the appropriate 1341 // put them in alphabetical order above, or in order inside the appropriate
1348 // ifdef at the bottom. The order should match the header. 1342 // ifdef at the bottom. The order should match the header.
1349 // ----------------------------------------------------------------------------- 1343 // -----------------------------------------------------------------------------
1350 1344
1351 } // namespace switches 1345 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698