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

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

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: fix histogram entry Created 3 years, 8 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
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 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 chromeos::switches::kEnableExperimentalAccessibilityFeatures)}, 2086 chromeos::switches::kEnableExperimentalAccessibilityFeatures)},
2087 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName, 2087 {"opt-in-ime-menu", flag_descriptions::kEnableImeMenuName,
2088 flag_descriptions::kEnableImeMenuDescription, kOsCrOS, 2088 flag_descriptions::kEnableImeMenuDescription, kOsCrOS,
2089 FEATURE_VALUE_TYPE(features::kOptInImeMenu)}, 2089 FEATURE_VALUE_TYPE(features::kOptInImeMenu)},
2090 {"disable-system-timezone-automatic-detection", 2090 {"disable-system-timezone-automatic-detection",
2091 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName, 2091 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionName,
2092 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription, 2092 flag_descriptions::kDisableSystemTimezoneAutomaticDetectionDescription,
2093 kOsCrOS, 2093 kOsCrOS,
2094 SINGLE_VALUE_TYPE( 2094 SINGLE_VALUE_TYPE(
2095 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)}, 2095 chromeos::switches::kDisableSystemTimezoneAutomaticDetectionPolicy)},
2096 {"enable-native-cups", flag_descriptions::kEnableNativeCupsName, 2096 {"disable-native-cups", flag_descriptions::kDisableNativeCupsName,
2097 flag_descriptions::kEnableNativeCupsDescription, kOsCrOS, 2097 flag_descriptions::kDisableNativeCupsDescription, kOsCrOS,
2098 SINGLE_VALUE_TYPE(switches::kEnableNativeCups)}, 2098 SINGLE_VALUE_TYPE(switches::kDisableNativeCups)},
2099 #endif // OS_CHROMEOS 2099 #endif // OS_CHROMEOS
2100 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD) 2100 #if !defined(OS_ANDROID) && !defined(OS_IOS) && defined(GOOGLE_CHROME_BUILD)
2101 {"enable-google-branded-context-menu", 2101 {"enable-google-branded-context-menu",
2102 flag_descriptions::kGoogleBrandedContextMenuName, 2102 flag_descriptions::kGoogleBrandedContextMenuName,
2103 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop, 2103 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop,
2104 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)}, 2104 SINGLE_VALUE_TYPE(switches::kEnableGoogleBrandedContextMenu)},
2105 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD 2105 #endif // !OS_ANDROID && !OS_IOS && GOOGLE_CHROME_BUILD
2106 #if defined(OS_MACOSX) 2106 #if defined(OS_MACOSX)
2107 {"enable-fullscreen-in-tab-detaching", 2107 {"enable-fullscreen-in-tab-detaching",
2108 flag_descriptions::kTabDetachingInFullscreenName, 2108 flag_descriptions::kTabDetachingInFullscreenName,
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after
2686 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2686 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2687 2687
2688 const FeatureEntry* GetFeatureEntries(size_t* count) { 2688 const FeatureEntry* GetFeatureEntries(size_t* count) {
2689 *count = arraysize(kFeatureEntries); 2689 *count = arraysize(kFeatureEntries);
2690 return kFeatureEntries; 2690 return kFeatureEntries;
2691 } 2691 }
2692 2692
2693 } // namespace testing 2693 } // namespace testing
2694 2694
2695 } // namespace about_flags 2695 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698