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

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

Issue 2184963002: Prerender: NoStatePrefetch browser side changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debug DVLOG Created 4 years, 4 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
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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 // Controls speculative prerendering of pages, and content prefetching. Both 780 // Controls speculative prerendering of pages, and content prefetching. Both
781 // are dispatched from <link rel=prefetch href=...> elements. 781 // are dispatched from <link rel=prefetch href=...> elements.
782 const char kPrerenderMode[] = "prerender"; 782 const char kPrerenderMode[] = "prerender";
783 783
784 // These are the values the kPrerenderMode switch may have, as in 784 // These are the values the kPrerenderMode switch may have, as in
785 // "--prerender=disabled". 785 // "--prerender=disabled".
786 // disabled: No prerendering. 786 // disabled: No prerendering.
787 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; 787 const char kPrerenderModeSwitchValueDisabled[] = "disabled";
788 // enabled: Prerendering. 788 // enabled: Prerendering.
789 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; 789 const char kPrerenderModeSwitchValueEnabled[] = "enabled";
790 // prefetch: NoState Prefetch experiment.
791 const char kPrerenderModeSwitchValuePrefetch[] = "prefetch";
790 792
791 // Use IPv6 only for privet HTTP. 793 // Use IPv6 only for privet HTTP.
792 const char kPrivetIPv6Only[] = "privet-ipv6-only"; 794 const char kPrivetIPv6Only[] = "privet-ipv6-only";
793 795
794 // Outputs the product version information and quit. Used as an internal api to 796 // Outputs the product version information and quit. Used as an internal api to
795 // detect the installed version of Chrome on Linux. 797 // detect the installed version of Chrome on Linux.
796 const char kProductVersion[] = "product-version"; 798 const char kProductVersion[] = "product-version";
797 799
798 // Selects directory of profile to associate with the first browser launched. 800 // Selects directory of profile to associate with the first browser launched.
799 const char kProfileDirectory[] = "profile-directory"; 801 const char kProfileDirectory[] = "profile-directory";
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 1337
1336 // ----------------------------------------------------------------------------- 1338 // -----------------------------------------------------------------------------
1337 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1339 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1338 // 1340 //
1339 // You were going to just dump your switches here, weren't you? Instead, please 1341 // You were going to just dump your switches here, weren't you? Instead, please
1340 // put them in alphabetical order above, or in order inside the appropriate 1342 // put them in alphabetical order above, or in order inside the appropriate
1341 // ifdef at the bottom. The order should match the header. 1343 // ifdef at the bottom. The order should match the header.
1342 // ----------------------------------------------------------------------------- 1344 // -----------------------------------------------------------------------------
1343 1345
1344 } // namespace switches 1346 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698