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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 47923018: Move FeatureSwitch to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « no previous file | chrome/browser/download/download_browsertest.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) 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 IDS_FLAGS_ENABLE_APP_WINDOW_CONTROLS_NAME, 632 IDS_FLAGS_ENABLE_APP_WINDOW_CONTROLS_NAME,
633 IDS_FLAGS_ENABLE_APP_WINDOW_CONTROLS_DESCRIPTION, 633 IDS_FLAGS_ENABLE_APP_WINDOW_CONTROLS_DESCRIPTION,
634 kOsDesktop, 634 kOsDesktop,
635 SINGLE_VALUE_TYPE(switches::kEnableAppWindowControls) 635 SINGLE_VALUE_TYPE(switches::kEnableAppWindowControls)
636 }, 636 },
637 { 637 {
638 "script-badges", 638 "script-badges",
639 IDS_FLAGS_SCRIPT_BADGES_NAME, 639 IDS_FLAGS_SCRIPT_BADGES_NAME,
640 IDS_FLAGS_SCRIPT_BADGES_DESCRIPTION, 640 IDS_FLAGS_SCRIPT_BADGES_DESCRIPTION,
641 kOsDesktop, 641 kOsDesktop,
642 SINGLE_VALUE_TYPE(switches::kScriptBadges) 642 SINGLE_VALUE_TYPE(extensions::switches::kScriptBadges)
643 }, 643 },
644 { 644 {
645 "script-bubble", 645 "script-bubble",
646 IDS_FLAGS_SCRIPT_BUBBLE_NAME, 646 IDS_FLAGS_SCRIPT_BUBBLE_NAME,
647 IDS_FLAGS_SCRIPT_BUBBLE_DESCRIPTION, 647 IDS_FLAGS_SCRIPT_BUBBLE_DESCRIPTION,
648 kOsDesktop, 648 kOsDesktop,
649 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kScriptBubble, "1", 649 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
650 switches::kScriptBubble, "0") 650 extensions::switches::kScriptBubble, "1",
651 extensions::switches::kScriptBubble, "0")
651 }, 652 },
652 { 653 {
653 "apps-new-install-bubble", 654 "apps-new-install-bubble",
654 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME, 655 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_NAME,
655 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION, 656 IDS_FLAGS_APPS_NEW_INSTALL_BUBBLE_DESCRIPTION,
656 kOsDesktop, 657 kOsDesktop,
657 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble) 658 SINGLE_VALUE_TYPE(switches::kAppsNewInstallBubble)
658 }, 659 },
659 { 660 {
660 "disable-hyperlink-auditing", 661 "disable-hyperlink-auditing",
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after
2339 } 2340 }
2340 2341
2341 const Experiment* GetExperiments(size_t* count) { 2342 const Experiment* GetExperiments(size_t* count) {
2342 *count = num_experiments; 2343 *count = num_experiments;
2343 return experiments; 2344 return experiments;
2344 } 2345 }
2345 2346
2346 } // namespace testing 2347 } // namespace testing
2347 2348
2348 } // namespace about_flags 2349 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698