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

Unified Diff: components/variations/variations_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: Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/variations/variations_switches.cc
diff --git a/components/variations/variations_switches.cc b/components/variations/variations_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5f329434ea196e80a64290174a03a97a6b00af0d
--- /dev/null
+++ b/components/variations/variations_switches.cc
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/variations/variations_switches.h"
+
+namespace chrome_variations {
+namespace switches {
+
+// Fakes the channel of the browser for purposes of Variations filtering. This
+// is to be used for testing only. Possible values are "stable", "beta", "dev"
+// and "canary". Note that this only applies if the browser's reported channel
+// is UNKNOWN.
+const char kFakeVariationsChannel[] = "fake-variations-channel";
Alexei Svitkine (slow) 2015/08/27 18:27:10 Nit: These don't need so many spaces before the =.
blundell 2015/08/27 18:33:02 Done.
+
+// Specifies a custom URL for the server which reports variation data to the
+// client. Specifying this switch enables the Variations service on
+// unofficial builds. See variations_service.cc.
+const char kVariationsServerURL[] = "variations-server-url";
+
+} // namespace switches
+} // namespace chrome_variations
« components/variations/variations_switches.h ('K') | « components/variations/variations_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698