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

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

Issue 2468283003: Revert of [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: 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 | content/browser/frame_host/render_frame_host_impl.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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2020 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 "https://www-googleapis-staging.sandbox.google.com/oauth2/v4/" 2031 "https://www-googleapis-staging.sandbox.google.com/oauth2/v4/"
2032 "ExchangeToken")}, 2032 "ExchangeToken")},
2033 {"arc-boot-completed-broadcast", IDS_FLAGS_ARC_BOOT_COMPLETED, 2033 {"arc-boot-completed-broadcast", IDS_FLAGS_ARC_BOOT_COMPLETED,
2034 IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS, 2034 IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS,
2035 FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)}, 2035 FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
2036 #endif // OS_CHROMEOS 2036 #endif // OS_CHROMEOS
2037 {"saveas-menu-text-experiment", IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_NAME, 2037 {"saveas-menu-text-experiment", IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_NAME,
2038 IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_DESCRIPTION, kOsDesktop, 2038 IDS_FLAGS_SAVEAS_MENU_LABEL_EXPERIMENT_DESCRIPTION, kOsDesktop,
2039 SINGLE_VALUE_TYPE(switches::kEnableSaveAsMenuLabelExperiment)}, 2039 SINGLE_VALUE_TYPE(switches::kEnableSaveAsMenuLabelExperiment)},
2040 {"enable-generic-sensor", IDS_FLAGS_ENABLE_GENERIC_SENSOR_NAME, 2040 {"enable-generic-sensor", IDS_FLAGS_ENABLE_GENERIC_SENSOR_NAME,
2041 IDS_FLAGS_ENABLE_GENERIC_SENSOR_DESCRIPTION, kOsAll, 2041 IDS_FLAGS_ENABLE_GENERIC_SENSOR_DESCRIPTION, kOsAndroid | kOsMac | kOsWin,
2042 FEATURE_VALUE_TYPE(features::kGenericSensor)}, 2042 FEATURE_VALUE_TYPE(features::kGenericSensor)},
2043 {"expensive-background-timer-throttling", 2043 {"expensive-background-timer-throttling",
2044 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_NAME, 2044 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_NAME,
2045 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_DESCRIPTION, kOsAll, 2045 IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_DESCRIPTION, kOsAll,
2046 FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)}, 2046 FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)},
2047 {"security-chip", IDS_FLAGS_SECURITY_CHIP_NAME, 2047 {"security-chip", IDS_FLAGS_SECURITY_CHIP_NAME,
2048 IDS_FLAGS_SECURITY_CHIP_DESCRIPTION, kOsDesktop, 2048 IDS_FLAGS_SECURITY_CHIP_DESCRIPTION, kOsDesktop,
2049 MULTI_VALUE_TYPE(kSecurityChipChoices)}, 2049 MULTI_VALUE_TYPE(kSecurityChipChoices)},
2050 {"security-chip-animation", IDS_FLAGS_SECURITY_CHIP_ANIMATION_NAME, 2050 {"security-chip-animation", IDS_FLAGS_SECURITY_CHIP_ANIMATION_NAME,
2051 IDS_FLAGS_SECURITY_CHIP_ANIMATION_DESCRIPTION, kOsDesktop, 2051 IDS_FLAGS_SECURITY_CHIP_ANIMATION_DESCRIPTION, kOsDesktop,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2286 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2286 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2287 2287
2288 const FeatureEntry* GetFeatureEntries(size_t* count) { 2288 const FeatureEntry* GetFeatureEntries(size_t* count) {
2289 *count = arraysize(kFeatureEntries); 2289 *count = arraysize(kFeatureEntries);
2290 return kFeatureEntries; 2290 return kFeatureEntries;
2291 } 2291 }
2292 2292
2293 } // namespace testing 2293 } // namespace testing
2294 2294
2295 } // namespace about_flags 2295 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698