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

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

Issue 1932903002: Add a flag for experimental native cups support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added metrics for the flag. Created 4 years, 7 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/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 SINGLE_VALUE_TYPE( 1797 SINGLE_VALUE_TYPE(
1798 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, 1798 chromeos::switches::kEnableExperimentalAccessibilityFeatures)},
1799 {"opt-in-ime-menu", IDS_FLAGS_ENABLE_IME_MENU_NAME, 1799 {"opt-in-ime-menu", IDS_FLAGS_ENABLE_IME_MENU_NAME,
1800 IDS_FLAGS_ENABLE_IME_MENU_DESCRIPTION, kOsCrOS, 1800 IDS_FLAGS_ENABLE_IME_MENU_DESCRIPTION, kOsCrOS,
1801 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, 1801 FEATURE_VALUE_TYPE(features::kOptInImeMenu)},
1802 {"enable-system-timezone-automatic-detection", 1802 {"enable-system-timezone-automatic-detection",
1803 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_NAME, 1803 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_NAME,
1804 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_DESCRIPTION, kOsCrOS, 1804 IDS_FLAGS_ENABLE_SYSTEM_TIMEZONE_AUTOMATIC_DETECTION_DESCRIPTION, kOsCrOS,
1805 SINGLE_VALUE_TYPE( 1805 SINGLE_VALUE_TYPE(
1806 chromeos::switches::kEnableSystemTimezoneAutomaticDetectionPolicy)}, 1806 chromeos::switches::kEnableSystemTimezoneAutomaticDetectionPolicy)},
1807 #endif 1807 {"enable-native-cups", // FLAGS:RECORD_UMA
1808 IDS_FLAGS_ENABLE_NATIVE_CUPS_NAME,
1809 IDS_FLAGS_ENABLE_NATIVE_CUPS_DESCRIPTION, kOsCrOS,
1810 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)},
1811 #endif // defined(OS_CHROMEOS)
1808 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) 1812 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD)
1809 {"enable-google-branded-context-menu", 1813 {"enable-google-branded-context-menu",
1810 IDS_FLAGS_GOOGLE_BRANDED_CONTEXT_MENU_NAME, 1814 IDS_FLAGS_GOOGLE_BRANDED_CONTEXT_MENU_NAME,
1811 IDS_FLAGS_GOOGLE_BRANDED_CONTEXT_MENU_DESCRIPTION, kOsDesktop, 1815 IDS_FLAGS_GOOGLE_BRANDED_CONTEXT_MENU_DESCRIPTION, kOsDesktop,
1812 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, 1816 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)},
1813 #endif 1817 #endif
1814 #if defined(OS_MACOSX) 1818 #if defined(OS_MACOSX)
1815 {"enable-fullscreen-in-tab-detaching", 1819 {"enable-fullscreen-in-tab-detaching",
1816 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_NAME, 1820 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_NAME,
1817 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_DESCRIPTION, kOsMac, 1821 IDS_FLAGS_TAB_DETACHING_IN_FULLSCREEN_DESCRIPTION, kOsMac,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2024 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2028 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2025 2029
2026 const FeatureEntry* GetFeatureEntries(size_t* count) { 2030 const FeatureEntry* GetFeatureEntries(size_t* count) {
2027 *count = arraysize(kFeatureEntries); 2031 *count = arraysize(kFeatureEntries);
2028 return kFeatureEntries; 2032 return kFeatureEntries;
2029 } 2033 }
2030 2034
2031 } // namespace testing 2035 } // namespace testing
2032 2036
2033 } // namespace about_flags 2037 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698