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

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

Issue 1309843005: Remove more //chrome dependencies from VariationsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@variations_service_get_channel
Patch Set: Response to review Created 5 years, 3 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/variations.gypi » ('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) 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 9
10 namespace switches { 10 namespace switches {
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 // turned on. 576 // turned on.
577 const char kExtensionsInstallVerification[] = "extensions-install-verification"; 577 const char kExtensionsInstallVerification[] = "extensions-install-verification";
578 578
579 // Specifies a comma-separated list of extension ids that should be forced to 579 // Specifies a comma-separated list of extension ids that should be forced to
580 // be treated as not from the webstore when doing install verification. 580 // be treated as not from the webstore when doing install verification.
581 const char kExtensionsNotWebstore[] = "extensions-not-webstore"; 581 const char kExtensionsNotWebstore[] = "extensions-not-webstore";
582 582
583 // Frequency in seconds for Extensions auto-update. 583 // Frequency in seconds for Extensions auto-update.
584 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 584 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
585 585
586 // Fakes the channel of the browser for purposes of Variations filtering. This
587 // is to be used for testing only. Possible values are "stable", "beta", "dev"
588 // and "canary". Note that this only applies if the browser's reported channel
589 // is UNKNOWN.
590 const char kFakeVariationsChannel[] = "fake-variations-channel";
591
592 // If this flag is present then this command line is being delegated to an 586 // If this flag is present then this command line is being delegated to an
593 // already running chrome process via the fast path, ie: before chrome.dll is 587 // already running chrome process via the fast path, ie: before chrome.dll is
594 // loaded. It is useful to tell the difference for tracking purposes. 588 // loaded. It is useful to tell the difference for tracking purposes.
595 const char kFastStart[] = "fast-start"; 589 const char kFastStart[] = "fast-start";
596 590
597 // These two flags are added around the switches about:flags adds to the 591 // These two flags are added around the switches about:flags adds to the
598 // command line. This is useful to see which switches were added by about:flags 592 // command line. This is useful to see which switches were added by about:flags
599 // on about:version. They don't have any effect. 593 // on about:version. They don't have any effect.
600 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 594 const char kFlagSwitchesBegin[] = "flag-switches-begin";
601 const char kFlagSwitchesEnd[] = "flag-switches-end"; 595 const char kFlagSwitchesEnd[] = "flag-switches-end";
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 1133
1140 // Uses experimental simple cache backend if possible. 1134 // Uses experimental simple cache backend if possible.
1141 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend"; 1135 const char kUseSimpleCacheBackend[] = "use-simple-cache-backend";
1142 1136
1143 // Enables using an in-process Mojo service for the v8 proxy resolver. 1137 // Enables using an in-process Mojo service for the v8 proxy resolver.
1144 const char kV8PacMojoInProcess[] = "v8-pac-mojo-in-process"; 1138 const char kV8PacMojoInProcess[] = "v8-pac-mojo-in-process";
1145 1139
1146 // Enables using an out-of-process Mojo service for the v8 proxy resolver. 1140 // Enables using an out-of-process Mojo service for the v8 proxy resolver.
1147 const char kV8PacMojoOutOfProcess[] = "v8-pac-mojo-out-of-process"; 1141 const char kV8PacMojoOutOfProcess[] = "v8-pac-mojo-out-of-process";
1148 1142
1149 // Specifies a custom URL for the server which reports variation data to the
1150 // client. Specifying this switch enables the Variations service on
1151 // unofficial builds. See variations_service.cc.
1152 const char kVariationsServerURL[] = "variations-server-url";
1153
1154 // Prints version information and quits. 1143 // Prints version information and quits.
1155 const char kVersion[] = "version"; 1144 const char kVersion[] = "version";
1156 1145
1157 // Specify the initial window position: --window-position=x,y 1146 // Specify the initial window position: --window-position=x,y
1158 const char kWindowPosition[] = "window-position"; 1147 const char kWindowPosition[] = "window-position";
1159 1148
1160 // Specify the initial window size: --window-size=w,h 1149 // Specify the initial window size: --window-size=w,h
1161 const char kWindowSize[] = "window-size"; 1150 const char kWindowSize[] = "window-size";
1162 1151
1163 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to 1152 // Uses WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is to
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 1403
1415 // ----------------------------------------------------------------------------- 1404 // -----------------------------------------------------------------------------
1416 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1405 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1417 // 1406 //
1418 // You were going to just dump your switches here, weren't you? Instead, please 1407 // You were going to just dump your switches here, weren't you? Instead, please
1419 // put them in alphabetical order above, or in order inside the appropriate 1408 // put them in alphabetical order above, or in order inside the appropriate
1420 // ifdef at the bottom. The order should match the header. 1409 // ifdef at the bottom. The order should match the header.
1421 // ----------------------------------------------------------------------------- 1410 // -----------------------------------------------------------------------------
1422 1411
1423 } // namespace switches 1412 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/variations.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698