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

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

Issue 14043009: Fall back to local page if online NTP fails to load. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix failing unittest & address comments Created 7 years, 7 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 | Annotate | Revision Log
« 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 9
10 namespace switches { 10 namespace switches {
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file 325 // issues relating to IPv6, but shouldn't otherwise be needed. Be sure to file
326 // bugs if something isn't working properly in the presence of IPv6. This flag 326 // bugs if something isn't working properly in the presence of IPv6. This flag
327 // can be overidden by the "enable-ipv6" flag. 327 // can be overidden by the "enable-ipv6" flag.
328 const char kDisableIPv6[] = "disable-ipv6"; 328 const char kDisableIPv6[] = "disable-ipv6";
329 329
330 // Disables IP Pooling within the networks stack (SPDY only). When a connection 330 // Disables IP Pooling within the networks stack (SPDY only). When a connection
331 // is needed for a domain which shares an IP with an existing connection, 331 // is needed for a domain which shares an IP with an existing connection,
332 // attempt to use the existing connection. 332 // attempt to use the existing connection.
333 const char kDisableIPPooling[] = "disable-ip-pooling"; 333 const char kDisableIPPooling[] = "disable-ip-pooling";
334 334
335 // Disable always using the local NTP for the first NTP load of a new window.
336 const char kDisableLocalFirstLoadNTP[] = "disable-local-first-load-ntp";
337
335 // Disable local-only Instant extended API. 338 // Disable local-only Instant extended API.
336 const char kDisableLocalOnlyInstantExtendedAPI[] = 339 const char kDisableLocalOnlyInstantExtendedAPI[] =
337 "disable-local-only-instant-extended-api"; 340 "disable-local-only-instant-extended-api";
338 341
339 // Disable the behavior that the second click on a launcher item (the click when 342 // Disable the behavior that the second click on a launcher item (the click when
340 // the item is already active) minimizes the item. 343 // the item is already active) minimizes the item.
341 const char kDisableMinimizeOnSecondLauncherItemClick[] = 344 const char kDisableMinimizeOnSecondLauncherItemClick[] =
342 "disable-minimize-on-second-launcher-item-click"; 345 "disable-minimize-on-second-launcher-item-click";
343 346
344 // Disables the native Autofill UI, which is part of the browser process rather 347 // Disables the native Autofill UI, which is part of the browser process rather
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 const char kEnableIPv6[] = "enable-ipv6"; 551 const char kEnableIPv6[] = "enable-ipv6";
549 552
550 /// Enables the IPC fuzzer for reliability testing 553 /// Enables the IPC fuzzer for reliability testing
551 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing"; 554 const char kEnableIPCFuzzing[] = "enable-ipc-fuzzing";
552 555
553 // Enables IP Pooling within the networks stack (SPDY only). When a connection 556 // Enables IP Pooling within the networks stack (SPDY only). When a connection
554 // is needed for a domain which shares an IP with an existing connection, 557 // is needed for a domain which shares an IP with an existing connection,
555 // attempt to use the existing connection. 558 // attempt to use the existing connection.
556 const char kEnableIPPooling[] = "enable-ip-pooling"; 559 const char kEnableIPPooling[] = "enable-ip-pooling";
557 560
561 // Enable always using the local NTP for the first NTP load of a new window.
562 const char kEnableLocalFirstLoadNTP[] = "enable-local-first-load-ntp";
563
558 // Enable Instant extended API, but use only the local omnibox popup and NTP. 564 // Enable Instant extended API, but use only the local omnibox popup and NTP.
559 const char kEnableLocalOnlyInstantExtendedAPI[] = 565 const char kEnableLocalOnlyInstantExtendedAPI[] =
560 "enable-local-only-instant-extended-api"; 566 "enable-local-only-instant-extended-api";
561 567
562 // Enables support for user profiles that are managed by another user and can 568 // Enables support for user profiles that are managed by another user and can
563 // have restrictions applied. 569 // have restrictions applied.
564 const char kEnableManagedUsers[] = "enable-managed-users"; 570 const char kEnableManagedUsers[] = "enable-managed-users";
565 571
566 // Make the values returned to window.performance.memory more granular and more 572 // Make the values returned to window.performance.memory more granular and more
567 // up to date. Without this flag, the memory information is still available, but 573 // up to date. Without this flag, the memory information is still available, but
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1674 1680
1675 // ----------------------------------------------------------------------------- 1681 // -----------------------------------------------------------------------------
1676 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1682 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1677 // 1683 //
1678 // You were going to just dump your switches here, weren't you? Instead, please 1684 // You were going to just dump your switches here, weren't you? Instead, please
1679 // put them in alphabetical order above, or in order inside the appropriate 1685 // put them in alphabetical order above, or in order inside the appropriate
1680 // ifdef at the bottom. The order should match the header. 1686 // ifdef at the bottom. The order should match the header.
1681 // ----------------------------------------------------------------------------- 1687 // -----------------------------------------------------------------------------
1682 1688
1683 } // namespace switches 1689 } // 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