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

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

Issue 8588003: Add a new field trial for Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 705
706 // Controls the Instant field trial. Valid values are defined below. If an 706 // Controls the Instant field trial. Valid values are defined below. If an
707 // unknown value is supplied on the command line, the field trial is disabled. 707 // unknown value is supplied on the command line, the field trial is disabled.
708 const char kInstantFieldTrial[] = "instant-field-trial"; 708 const char kInstantFieldTrial[] = "instant-field-trial";
709 // The field trial is forced into the HIDDEN_EXPERIMENT group. 709 // The field trial is forced into the HIDDEN_EXPERIMENT group.
710 const char kInstantFieldTrialHidden[] = "hidden"; 710 const char kInstantFieldTrialHidden[] = "hidden";
711 // The field trial is forced into the INSTANT_EXPERIMENT group. 711 // The field trial is forced into the INSTANT_EXPERIMENT group.
712 const char kInstantFieldTrialInstant[] = "instant"; 712 const char kInstantFieldTrialInstant[] = "instant";
713 // The field trial is forced into the SILENT_EXPERIMENT group. 713 // The field trial is forced into the SILENT_EXPERIMENT group.
714 const char kInstantFieldTrialSilent[] = "silent"; 714 const char kInstantFieldTrialSilent[] = "silent";
715 // The field trial is forced into the SUGGEST_EXPERIMENT group.
716 const char kInstantFieldTrialSuggest[] = "suggest";
715 717
716 // URL to use for instant. If specified this overrides the url from the 718 // URL to use for instant. If specified this overrides the url from the
717 // TemplateURL. 719 // TemplateURL.
718 const char kInstantURL[] = "instant-url"; 720 const char kInstantURL[] = "instant-url";
719 721
720 // Used for testing - keeps browser alive after last browser window closes. 722 // Used for testing - keeps browser alive after last browser window closes.
721 const char kKeepAliveForTest[] = "keep-alive-for-test"; 723 const char kKeepAliveForTest[] = "keep-alive-for-test";
722 724
723 // Loads an extension from the specified directory. 725 // Loads an extension from the specified directory.
724 const char kLoadExtension[] = "load-extension"; 726 const char kLoadExtension[] = "load-extension";
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 1299
1298 // ----------------------------------------------------------------------------- 1300 // -----------------------------------------------------------------------------
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1301 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1300 // 1302 //
1301 // You were going to just dump your switches here, weren't you? Instead, please 1303 // You were going to just dump your switches here, weren't you? Instead, please
1302 // put them in alphabetical order above, or in order inside the appropriate 1304 // put them in alphabetical order above, or in order inside the appropriate
1303 // ifdef at the bottom. The order should match the header. 1305 // ifdef at the bottom. The order should match the header.
1304 // ----------------------------------------------------------------------------- 1306 // -----------------------------------------------------------------------------
1305 1307
1306 } // namespace switches 1308 } // 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