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

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

Issue 2447973003: [sensors] [win] Implement ambient light sensor for Windows platform (Closed)
Patch Set: Rebased to master Created 4 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 | device/BUILD.gn » ('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 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after
2036 "https://www-googleapis-staging.sandbox.google.com/oauth2/v4/" 2036 "https://www-googleapis-staging.sandbox.google.com/oauth2/v4/"
2037 "ExchangeToken")}, 2037 "ExchangeToken")},
2038 {"arc-boot-completed-broadcast", IDS_FLAGS_ARC_BOOT_COMPLETED, 2038 {"arc-boot-completed-broadcast", IDS_FLAGS_ARC_BOOT_COMPLETED,
2039 IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS, 2039 IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS,
2040 FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)}, 2040 FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
2041 #endif // OS_CHROMEOS 2041 #endif // OS_CHROMEOS
2042 {"saveas-menu-text-experiment", IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_NAME, 2042 {"saveas-menu-text-experiment", IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_NAME,
2043 IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_DESCRIPTION, kOsDesktop, 2043 IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_DESCRIPTION, kOsDesktop,
2044 SINGLE_VALUE_TYPE(switches::kEnableSaveAsMenuLabelExperiment)}, 2044 SINGLE_VALUE_TYPE(switches::kEnableSaveAsMenuLabelExperiment)},
2045 {"enable-generic-sensor", IDS_FLAGS_ENABLE_GENERIC_SENSOR_NAME, 2045 {"enable-generic-sensor", IDS_FLAGS_ENABLE_GENERIC_SENSOR_NAME,
2046 IDS_FLAGS_ENABLE_GENERIC_SENSOR_DESCRIPTION, kOsAndroid | kOsMac, 2046 IDS_FLAGS_ENABLE_GENERIC_SENSOR_DESCRIPTION, kOsAndroid | kOsMac | kOsWin,
2047 FEATURE_VALUE_TYPE(features::kGenericSensor)}, 2047 FEATURE_VALUE_TYPE(features::kGenericSensor)},
2048 {"expensive-background-timer-throttling", 2048 {"expensive-background-timer-throttling",
2049 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_NAME, 2049 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_NAME,
2050 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_DESCRIPTION, kOsAll, 2050 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_DESCRIPTION, kOsAll,
2051 FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)}, 2051 FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)},
2052 {"security-chip", IDS_FLAGS_SECURITY_CHIP_NAME, 2052 {"security-chip", IDS_FLAGS_SECURITY_CHIP_NAME,
2053 IDS_FLAGS_SECURITY_CHIP_DESCRIPTION, kOsDesktop, 2053 IDS_FLAGS_SECURITY_CHIP_DESCRIPTION, kOsDesktop,
2054 MULTI_VALUE_TYPE(kSecurityChipChoices)}, 2054 MULTI_VALUE_TYPE(kSecurityChipChoices)},
2055 {"security-chip-animation", IDS_FLAGS_SECURITY_CHIP_ANIMATION_NAME, 2055 {"security-chip-animation", IDS_FLAGS_SECURITY_CHIP_ANIMATION_NAME,
2056 IDS_FLAGS_SECURITY_CHIP_ANIMATION_DESCRIPTION, kOsDesktop, 2056 IDS_FLAGS_SECURITY_CHIP_ANIMATION_DESCRIPTION, kOsDesktop,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2273 2273
2274 const FeatureEntry* GetFeatureEntries(size_t* count) { 2274 const FeatureEntry* GetFeatureEntries(size_t* count) {
2275 *count = arraysize(kFeatureEntries); 2275 *count = arraysize(kFeatureEntries);
2276 return kFeatureEntries; 2276 return kFeatureEntries;
2277 } 2277 }
2278 2278
2279 } // namespace testing 2279 } // namespace testing
2280 2280
2281 } // namespace about_flags 2281 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698