Chromium Code Reviews| 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 |