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

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

Issue 11737025: Add a switch for faking channels for Variations filtering. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 11 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') | 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) 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 // The time in seconds that an extension event page has between being notified 672 // The time in seconds that an extension event page has between being notified
673 // of its impending unload and that unload happening. 673 // of its impending unload and that unload happening.
674 const char kEventPageUnloadingTime[] = "event-page-unloading-time"; 674 const char kEventPageUnloadingTime[] = "event-page-unloading-time";
675 675
676 // Marks a renderer as extension process. 676 // Marks a renderer as extension process.
677 const char kExtensionProcess[] = "extension-process"; 677 const char kExtensionProcess[] = "extension-process";
678 678
679 // Frequency in seconds for Extensions auto-update. 679 // Frequency in seconds for Extensions auto-update.
680 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 680 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
681 681
682 // Fakes the channel of the browser for purposes of Variations filtering. This
683 // is to be used for testing only. Possible values are "stable", "beta", "dev"
684 // and "canary". Note that this only applies if the browser's reported channel
685 // is UNKNOWN.
686 const char kFakeVariationsChannel[] = "fake-variations-channel";
687
682 // These two flags are added around the switches about:flags adds to the 688 // These two flags are added around the switches about:flags adds to the
683 // command line. This is useful to see which switches were added by about:flags 689 // command line. This is useful to see which switches were added by about:flags
684 // on about:version. They don't have any effect. 690 // on about:version. They don't have any effect.
685 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 691 const char kFlagSwitchesBegin[] = "flag-switches-begin";
686 const char kFlagSwitchesEnd[] = "flag-switches-end"; 692 const char kFlagSwitchesEnd[] = "flag-switches-end";
687 693
688 // Alternative feedback server to use when submitting user feedback 694 // Alternative feedback server to use when submitting user feedback
689 const char kFeedbackServer[] = "feedback-server"; 695 const char kFeedbackServer[] = "feedback-server";
690 696
691 // The file descriptor limit is set to the value of this switch, subject to the 697 // The file descriptor limit is set to the value of this switch, subject to the
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after
1615 1621
1616 // ----------------------------------------------------------------------------- 1622 // -----------------------------------------------------------------------------
1617 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1623 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1618 // 1624 //
1619 // You were going to just dump your switches here, weren't you? Instead, please 1625 // You were going to just dump your switches here, weren't you? Instead, please
1620 // put them in alphabetical order above, or in order inside the appropriate 1626 // put them in alphabetical order above, or in order inside the appropriate
1621 // ifdef at the bottom. The order should match the header. 1627 // ifdef at the bottom. The order should match the header.
1622 // ----------------------------------------------------------------------------- 1628 // -----------------------------------------------------------------------------
1623 1629
1624 } // namespace switches 1630 } // 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