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

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

Issue 8198027: Allow controlling the Instant field trial through a command line flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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') | chrome/test/base/test_launcher_utils.cc » ('j') | 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 // setting encodes the target browser and what items to import. 662 // setting encodes the target browser and what items to import.
663 const char kImport[] = "import"; 663 const char kImport[] = "import";
664 664
665 // Perform bookmark importing from an HTML file. The value associated with this 665 // Perform bookmark importing from an HTML file. The value associated with this
666 // setting encodes the file path. It may be used jointly with kImport. 666 // setting encodes the file path. It may be used jointly with kImport.
667 const char kImportFromFile[] = "import-from-file"; 667 const char kImportFromFile[] = "import-from-file";
668 668
669 // Causes the browser to launch directly in incognito mode. 669 // Causes the browser to launch directly in incognito mode.
670 const char kIncognito[] = "incognito"; 670 const char kIncognito[] = "incognito";
671 671
672 // Control the Instant field trial. Valid values are defined below. If an
673 // unknown value is supplied on the command line, the field trial is disabled.
674 const char kInstantFieldTrial[] = "instant-field-trial";
675 // The field trial is forced into the INSTANT_EXPERIMENT group.
676 const char kInstantFieldTrialInstant[] = "instant";
677
672 // URL to use for instant. If specified this overrides the url from the 678 // URL to use for instant. If specified this overrides the url from the
673 // TemplateURL. 679 // TemplateURL.
674 const char kInstantURL[] = "instant-url"; 680 const char kInstantURL[] = "instant-url";
675 681
676 // Used for testing - keeps browser alive after last browser window closes. 682 // Used for testing - keeps browser alive after last browser window closes.
677 const char kKeepAliveForTest[] = "keep-alive-for-test"; 683 const char kKeepAliveForTest[] = "keep-alive-for-test";
678 684
679 // Load an extension from the specified directory. 685 // Load an extension from the specified directory.
680 const char kLoadExtension[] = "load-extension"; 686 const char kLoadExtension[] = "load-extension";
681 687
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 1252
1247 // ----------------------------------------------------------------------------- 1253 // -----------------------------------------------------------------------------
1248 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1254 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1249 // 1255 //
1250 // You were going to just dump your switches here, weren't you? Instead, 1256 // You were going to just dump your switches here, weren't you? Instead,
1251 // please put them in alphabetical order above, or in order inside the 1257 // please put them in alphabetical order above, or in order inside the
1252 // appropriate ifdef at the bottom. The order should match the header. 1258 // appropriate ifdef at the bottom. The order should match the header.
1253 // ----------------------------------------------------------------------------- 1259 // -----------------------------------------------------------------------------
1254 1260
1255 } // namespace switches 1261 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/base/test_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698