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

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

Issue 2348913002: Port storage manager to MD settings. (Closed)
Patch Set: histograms.xml Created 4 years, 2 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 {"gesture-editing", IDS_FLAGS_GESTURE_EDITING_NAME, 1201 {"gesture-editing", IDS_FLAGS_GESTURE_EDITING_NAME,
1202 IDS_FLAGS_GESTURE_EDITING_DESCRIPTION, kOsCrOS, 1202 IDS_FLAGS_GESTURE_EDITING_DESCRIPTION, kOsCrOS,
1203 SINGLE_DISABLE_VALUE_TYPE(keyboard::switches::kDisableGestureEditing)}, 1203 SINGLE_DISABLE_VALUE_TYPE(keyboard::switches::kDisableGestureEditing)},
1204 {"enable-fullscreen-app-list", IDS_FLAGS_FULLSCREEN_APP_LIST_NAME, 1204 {"enable-fullscreen-app-list", IDS_FLAGS_FULLSCREEN_APP_LIST_NAME,
1205 IDS_FLAGS_FULLSCREEN_APP_LIST_DESCRIPTION, kOsCrOS, 1205 IDS_FLAGS_FULLSCREEN_APP_LIST_DESCRIPTION, kOsCrOS,
1206 SINGLE_VALUE_TYPE(ash::switches::kAshEnableFullscreenAppList)}, 1206 SINGLE_VALUE_TYPE(ash::switches::kAshEnableFullscreenAppList)},
1207 {"enable-storage-manager", IDS_FLAGS_STORAGE_MANAGER_NAME, 1207 {"enable-storage-manager", IDS_FLAGS_STORAGE_MANAGER_NAME,
1208 IDS_FLAGS_STORAGE_MANAGER_DESCRIPTION, kOsCrOS, 1208 IDS_FLAGS_STORAGE_MANAGER_DESCRIPTION, kOsCrOS,
1209 ENABLE_DISABLE_VALUE_TYPE(chromeos::switches::kEnableStorageManager, 1209 ENABLE_DISABLE_VALUE_TYPE(chromeos::switches::kEnableStorageManager,
1210 chromeos::switches::kDisableStorageManager)}, 1210 chromeos::switches::kDisableStorageManager)},
1211 {"enable-md-storage-manager", IDS_FLAGS_MD_STORAGE_MANAGER_NAME,
1212 IDS_FLAGS_MD_STORAGE_MANAGER_DESCRIPTION, kOsCrOS,
1213 ENABLE_DISABLE_VALUE_TYPE(chromeos::switches::kEnableMdStorageManager,
1214 chromeos::switches::kDisableMdStorageManager)},
1211 #endif // OS_CHROMEOS 1215 #endif // OS_CHROMEOS
1212 {"enable-simple-cache-backend", IDS_FLAGS_SIMPLE_CACHE_BACKEND_NAME, 1216 {"enable-simple-cache-backend", IDS_FLAGS_SIMPLE_CACHE_BACKEND_NAME,
1213 IDS_FLAGS_SIMPLE_CACHE_BACKEND_DESCRIPTION, 1217 IDS_FLAGS_SIMPLE_CACHE_BACKEND_DESCRIPTION,
1214 kOsWin | kOsMac | kOsLinux | kOsCrOS, 1218 kOsWin | kOsMac | kOsLinux | kOsCrOS,
1215 MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)}, 1219 MULTI_VALUE_TYPE(kSimpleCacheBackendChoices)},
1216 {"enable-tcp-fast-open", IDS_FLAGS_TCP_FAST_OPEN_NAME, 1220 {"enable-tcp-fast-open", IDS_FLAGS_TCP_FAST_OPEN_NAME,
1217 IDS_FLAGS_TCP_FAST_OPEN_DESCRIPTION, kOsLinux | kOsCrOS | kOsAndroid, 1221 IDS_FLAGS_TCP_FAST_OPEN_DESCRIPTION, kOsLinux | kOsCrOS | kOsAndroid,
1218 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)}, 1222 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen)},
1219 #if defined(ENABLE_SERVICE_DISCOVERY) 1223 #if defined(ENABLE_SERVICE_DISCOVERY)
1220 {"device-discovery-notifications", 1224 {"device-discovery-notifications",
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
2304 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2308 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2305 2309
2306 const FeatureEntry* GetFeatureEntries(size_t* count) { 2310 const FeatureEntry* GetFeatureEntries(size_t* count) {
2307 *count = arraysize(kFeatureEntries); 2311 *count = arraysize(kFeatureEntries);
2308 return kFeatureEntries; 2312 return kFeatureEntries;
2309 } 2313 }
2310 2314
2311 } // namespace testing 2315 } // namespace testing
2312 2316
2313 } // namespace about_flags 2317 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698