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

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

Issue 2527233003: [Prerender] Add a "SimpleLoad" mode to be used as a comparison reference (Closed)
Patch Set: add command line flag 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
« 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 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 const char kPrerenderMode[] = "prerender"; 748 const char kPrerenderMode[] = "prerender";
749 749
750 // These are the values the kPrerenderMode switch may have, as in 750 // These are the values the kPrerenderMode switch may have, as in
751 // "--prerender=disabled". 751 // "--prerender=disabled".
752 // disabled: No prerendering. 752 // disabled: No prerendering.
753 const char kPrerenderModeSwitchValueDisabled[] = "disabled"; 753 const char kPrerenderModeSwitchValueDisabled[] = "disabled";
754 // enabled: Prerendering. 754 // enabled: Prerendering.
755 const char kPrerenderModeSwitchValueEnabled[] = "enabled"; 755 const char kPrerenderModeSwitchValueEnabled[] = "enabled";
756 // prefetch: NoState Prefetch experiment. 756 // prefetch: NoState Prefetch experiment.
757 const char kPrerenderModeSwitchValuePrefetch[] = "prefetch"; 757 const char kPrerenderModeSwitchValuePrefetch[] = "prefetch";
758 // simple-load: experiment with prerendering disabled but metrics reporting
759 // enabled, to use as a reference for comparisons.
760 const char kPrerenderModeSwitchValueSimpleLoad[] = "simple-load";
758 761
759 // Use IPv6 only for privet HTTP. 762 // Use IPv6 only for privet HTTP.
760 const char kPrivetIPv6Only[] = "privet-ipv6-only"; 763 const char kPrivetIPv6Only[] = "privet-ipv6-only";
761 764
762 // Outputs the product version information and quit. Used as an internal api to 765 // Outputs the product version information and quit. Used as an internal api to
763 // detect the installed version of Chrome on Linux. 766 // detect the installed version of Chrome on Linux.
764 const char kProductVersion[] = "product-version"; 767 const char kProductVersion[] = "product-version";
765 768
766 // Selects directory of profile to associate with the first browser launched. 769 // Selects directory of profile to associate with the first browser launched.
767 const char kProfileDirectory[] = "profile-directory"; 770 const char kProfileDirectory[] = "profile-directory";
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 1313
1311 // ----------------------------------------------------------------------------- 1314 // -----------------------------------------------------------------------------
1312 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1315 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1313 // 1316 //
1314 // You were going to just dump your switches here, weren't you? Instead, please 1317 // You were going to just dump your switches here, weren't you? Instead, please
1315 // put them in alphabetical order above, or in order inside the appropriate 1318 // put them in alphabetical order above, or in order inside the appropriate
1316 // ifdef at the bottom. The order should match the header. 1319 // ifdef at the bottom. The order should match the header.
1317 // ----------------------------------------------------------------------------- 1320 // -----------------------------------------------------------------------------
1318 1321
1319 } // namespace switches 1322 } // 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