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

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

Issue 2320813002: arc: Enable silent PlayStore Sign-In. (Closed)
Patch Set: cleanup Created 4 years, 3 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 2046 matching lines...) Expand 10 before | Expand all | Expand 10 after
2057 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_V1_SPEC_CAPTURING_DESCRIPTION, kOsAll, 2057 IDS_FLAGS_EXPERIMENTAL_POINTER_EVENT_V1_SPEC_CAPTURING_DESCRIPTION, kOsAll,
2058 FEATURE_VALUE_TYPE(features::kPointerEventV1SpecCapturing)}, 2058 FEATURE_VALUE_TYPE(features::kPointerEventV1SpecCapturing)},
2059 #if defined(OS_CHROMEOS) 2059 #if defined(OS_CHROMEOS)
2060 {"enable-emoji-handwriting-voice-on-ime-menu", 2060 {"enable-emoji-handwriting-voice-on-ime-menu",
2061 IDS_FLAGS_ENABLE_EHV_INPUT_NAME, IDS_FLAGS_ENABLE_EHV_INPUT_DESCRIPTION, 2061 IDS_FLAGS_ENABLE_EHV_INPUT_NAME, IDS_FLAGS_ENABLE_EHV_INPUT_DESCRIPTION,
2062 kOsCrOS, FEATURE_VALUE_TYPE(features::kEHVInputOnImeMenu)}, 2062 kOsCrOS, FEATURE_VALUE_TYPE(features::kEHVInputOnImeMenu)},
2063 #endif 2063 #endif
2064 {"enable-gamepad-extensions", IDS_FLAGS_GAMEPAD_EXTENSIONS_NAME, 2064 {"enable-gamepad-extensions", IDS_FLAGS_GAMEPAD_EXTENSIONS_NAME,
2065 IDS_FLAGS_GAMEPAD_EXTENSIONS_DESCRIPTION, kOsAll, 2065 IDS_FLAGS_GAMEPAD_EXTENSIONS_DESCRIPTION, kOsAll,
2066 FEATURE_VALUE_TYPE(features::kGamepadExtensions)}, 2066 FEATURE_VALUE_TYPE(features::kGamepadExtensions)},
2067 #if defined(OS_CHROMEOS)
2068 {"arc-use-auth-endpoint", IDS_FLAGS_ARC_USE_AUTH_ENDPOINT_NAME,
2069 IDS_FLAGS_ARC_USE_AUTH_ENDPOINT_DESCRIPTION, kOsCrOS,
2070 SINGLE_VALUE_TYPE_AND_VALUE(
2071 chromeos::switches::kArcUseAuthEndpoint,
2072 "https://www-googleapis-staging.sandbox.google.com/oauth2/v4/" \
2073 "ExchangeToken")},
2074 #endif
2067 // NOTE: Adding new command-line switches requires adding corresponding 2075 // NOTE: Adding new command-line switches requires adding corresponding
2068 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2076 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2069 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2077 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2070 }; 2078 };
2071 2079
2072 class FlagsStateSingleton { 2080 class FlagsStateSingleton {
2073 public: 2081 public:
2074 FlagsStateSingleton() 2082 FlagsStateSingleton()
2075 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {} 2083 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {}
2076 ~FlagsStateSingleton() {} 2084 ~FlagsStateSingleton() {}
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2247 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2240 2248
2241 const FeatureEntry* GetFeatureEntries(size_t* count) { 2249 const FeatureEntry* GetFeatureEntries(size_t* count) {
2242 *count = arraysize(kFeatureEntries); 2250 *count = arraysize(kFeatureEntries);
2243 return kFeatureEntries; 2251 return kFeatureEntries;
2244 } 2252 }
2245 2253
2246 } // namespace testing 2254 } // namespace testing
2247 2255
2248 } // namespace about_flags 2256 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698