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 8370020: Add a new field trial for Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed @sky's comments Created 9 years, 2 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) 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // Causes the browser to launch directly in incognito mode. 685 // Causes the browser to launch directly in incognito mode.
686 const char kIncognito[] = "incognito"; 686 const char kIncognito[] = "incognito";
687 687
688 // Controls the Instant field trial. Valid values are defined below. If an 688 // Controls the Instant field trial. Valid values are defined below. If an
689 // unknown value is supplied on the command line, the field trial is disabled. 689 // unknown value is supplied on the command line, the field trial is disabled.
690 const char kInstantFieldTrial[] = "instant-field-trial"; 690 const char kInstantFieldTrial[] = "instant-field-trial";
691 // The field trial is forced into the HIDDEN_EXPERIMENT group. 691 // The field trial is forced into the HIDDEN_EXPERIMENT group.
692 const char kInstantFieldTrialHidden[] = "hidden"; 692 const char kInstantFieldTrialHidden[] = "hidden";
693 // The field trial is forced into the INSTANT_EXPERIMENT group. 693 // The field trial is forced into the INSTANT_EXPERIMENT group.
694 const char kInstantFieldTrialInstant[] = "instant"; 694 const char kInstantFieldTrialInstant[] = "instant";
695 // The field trial is forced into the SILENT_EXPERIMENT group.
696 const char kInstantFieldTrialSilent[] = "silent";
695 697
696 // URL to use for instant. If specified this overrides the url from the 698 // URL to use for instant. If specified this overrides the url from the
697 // TemplateURL. 699 // TemplateURL.
698 const char kInstantURL[] = "instant-url"; 700 const char kInstantURL[] = "instant-url";
699 701
700 // Used for testing - keeps browser alive after last browser window closes. 702 // Used for testing - keeps browser alive after last browser window closes.
701 const char kKeepAliveForTest[] = "keep-alive-for-test"; 703 const char kKeepAliveForTest[] = "keep-alive-for-test";
702 704
703 // Loads an extension from the specified directory. 705 // Loads an extension from the specified directory.
704 const char kLoadExtension[] = "load-extension"; 706 const char kLoadExtension[] = "load-extension";
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 1276
1275 // ----------------------------------------------------------------------------- 1277 // -----------------------------------------------------------------------------
1276 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1278 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1277 // 1279 //
1278 // You were going to just dump your switches here, weren't you? Instead, please 1280 // You were going to just dump your switches here, weren't you? Instead, please
1279 // put them in alphabetical order above, or in order inside the appropriate 1281 // put them in alphabetical order above, or in order inside the appropriate
1280 // ifdef at the bottom. The order should match the header. 1282 // ifdef at the bottom. The order should match the header.
1281 // ----------------------------------------------------------------------------- 1283 // -----------------------------------------------------------------------------
1282 1284
1283 } // namespace switches 1285 } // 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