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

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

Issue 15021007: Do conservative prerendering based on the LocalPredictor in Dev/Canary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 353
354 // Disables the menu on the NTP for accessing sessions from other devices. 354 // Disables the menu on the NTP for accessing sessions from other devices.
355 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu"; 355 const char kDisableNTPOtherSessionsMenu[] = "disable-ntp-other-sessions-menu";
356 356
357 // Disable pop-up blocking. 357 // Disable pop-up blocking.
358 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 358 const char kDisablePopupBlocking[] = "disable-popup-blocking";
359 359
360 // Disable speculative TCP/IP preconnection. 360 // Disable speculative TCP/IP preconnection.
361 const char kDisablePreconnect[] = "disable-preconnect"; 361 const char kDisablePreconnect[] = "disable-preconnect";
362 362
363 // Disable prerendering based on local browsing history.
364 const char kDisablePrerenderLocalPredictor[] =
365 "disable-prerender-local-predictor";
366
363 // Normally when the user attempts to navigate to a page that was the result of 367 // Normally when the user attempts to navigate to a page that was the result of
364 // a post we prompt to make sure they want to. This switch may be used to 368 // a post we prompt to make sure they want to. This switch may be used to
365 // disable that check. This switch is used during automated testing. 369 // disable that check. This switch is used during automated testing.
366 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 370 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
367 371
368 // Prevents the URLs of BackgroundContents from being remembered and 372 // Prevents the URLs of BackgroundContents from being remembered and
369 // re-launched when the browser restarts. 373 // re-launched when the browser restarts.
370 const char kDisableRestoreBackgroundContents[] = 374 const char kDisableRestoreBackgroundContents[] =
371 "disable-restore-background-contents"; 375 "disable-restore-background-contents";
372 376
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1680 1684
1681 // ----------------------------------------------------------------------------- 1685 // -----------------------------------------------------------------------------
1682 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1686 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1683 // 1687 //
1684 // You were going to just dump your switches here, weren't you? Instead, please 1688 // You were going to just dump your switches here, weren't you? Instead, please
1685 // put them in alphabetical order above, or in order inside the appropriate 1689 // put them in alphabetical order above, or in order inside the appropriate
1686 // ifdef at the bottom. The order should match the header. 1690 // ifdef at the bottom. The order should match the header.
1687 // ----------------------------------------------------------------------------- 1691 // -----------------------------------------------------------------------------
1688 1692
1689 } // namespace switches 1693 } // 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