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

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

Issue 2074553002: Flag to disable Android Pay v1 integration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/browser/android/chrome_feature_list.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 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after
1902 {"enable-font-cache-scaling", IDS_FLAGS_FONT_CACHE_SCALING_NAME, 1902 {"enable-font-cache-scaling", IDS_FLAGS_FONT_CACHE_SCALING_NAME,
1903 IDS_FLAGS_FONT_CACHE_SCALING_DESCRIPTION, kOsAll, 1903 IDS_FLAGS_FONT_CACHE_SCALING_DESCRIPTION, kOsAll,
1904 FEATURE_VALUE_TYPE(features::kFontCacheScaling)}, 1904 FEATURE_VALUE_TYPE(features::kFontCacheScaling)},
1905 #if defined(OS_ANDROID) 1905 #if defined(OS_ANDROID)
1906 {"enable-vr-shell", 1906 {"enable-vr-shell",
1907 IDS_FLAGS_ENABLE_VR_SHELL_NAME, 1907 IDS_FLAGS_ENABLE_VR_SHELL_NAME,
1908 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid, 1908 IDS_FLAGS_ENABLE_VR_SHELL_DESCRIPTION, kOsAndroid,
1909 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell, 1909 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableVrShell,
1910 switches::kDisableVrShell)}, 1910 switches::kDisableVrShell)},
1911 #endif 1911 #endif
1912
1913 {"enable-weak-memorycache", 1912 {"enable-weak-memorycache",
1914 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME, 1913 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_NAME,
1915 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll, 1914 IDS_FLAGS_ENABLE_WEAK_MEMORYCACHE_DESCRIPTION, kOsAll,
1916 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)}, 1915 FEATURE_VALUE_TYPE(features::kWeakMemoryCache)},
1916 #if defined(OS_ANDROID)
1917 {"enable-android-pay-integration-v1",
gone 2016/06/16 17:52:44 Any objection to moving this into the other OS_AND
please use gerrit instead 2016/06/16 18:09:02 Done.
1918 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_NAME,
1919 IDS_FLAGS_ENABLE_ANDROID_PAY_INTEGRATION_V1_DESCRIPTION, kOsAndroid,
1920 FEATURE_VALUE_TYPE(chrome::android::kAndroidPayIntegrationV1)},
1921 #endif
1922
1917 // NOTE: Adding new command-line switches requires adding corresponding 1923 // NOTE: Adding new command-line switches requires adding corresponding
1918 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 1924 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
1919 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 1925 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
1920 }; 1926 };
1921 1927
1922 class FlagsStateSingleton { 1928 class FlagsStateSingleton {
1923 public: 1929 public:
1924 FlagsStateSingleton() 1930 FlagsStateSingleton()
1925 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {} 1931 : flags_state_(kFeatureEntries, arraysize(kFeatureEntries)) {}
1926 ~FlagsStateSingleton() {} 1932 ~FlagsStateSingleton() {}
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2112 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2107 2113
2108 const FeatureEntry* GetFeatureEntries(size_t* count) { 2114 const FeatureEntry* GetFeatureEntries(size_t* count) {
2109 *count = arraysize(kFeatureEntries); 2115 *count = arraysize(kFeatureEntries);
2110 return kFeatureEntries; 2116 return kFeatureEntries;
2111 } 2117 }
2112 2118
2113 } // namespace testing 2119 } // namespace testing
2114 2120
2115 } // namespace about_flags 2121 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/android/chrome_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698