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

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

Issue 734033003: Enabling the "enable offline load stale cache" flag for ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | no next file » | 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 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_VISIBLE_ONLY_NAME, 1288 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_VISIBLE_ONLY_NAME,
1289 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_VISIBLE_ONLY_DESCRIPTION, 1289 IDS_FLAGS_ENABLE_OFFLINE_AUTO_RELOAD_VISIBLE_ONLY_DESCRIPTION,
1290 kOsAll, 1290 kOsAll,
1291 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflineAutoReloadVisibleOnly, 1291 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflineAutoReloadVisibleOnly,
1292 switches::kDisableOfflineAutoReloadVisibleOnly) 1292 switches::kDisableOfflineAutoReloadVisibleOnly)
1293 }, 1293 },
1294 { 1294 {
1295 "enable-offline-load-stale-cache", 1295 "enable-offline-load-stale-cache",
1296 IDS_FLAGS_ENABLE_OFFLINE_LOAD_STALE_NAME, 1296 IDS_FLAGS_ENABLE_OFFLINE_LOAD_STALE_NAME,
1297 IDS_FLAGS_ENABLE_OFFLINE_LOAD_STALE_DESCRIPTION, 1297 IDS_FLAGS_ENABLE_OFFLINE_LOAD_STALE_DESCRIPTION,
1298 kOsLinux | kOsMac | kOsWin | kOsAndroid, 1298 kOsLinux | kOsMac | kOsWin | kOsAndroid | kOsCrOS,
Jun Mukai 2014/11/17 20:10:46 Use kOsAll
afakhry 2014/11/17 22:05:49 Done.
1299 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflineLoadStaleCache, 1299 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableOfflineLoadStaleCache,
1300 switches::kDisableOfflineLoadStaleCache) 1300 switches::kDisableOfflineLoadStaleCache)
1301 }, 1301 },
1302 { 1302 {
1303 "default-tile-width", 1303 "default-tile-width",
1304 IDS_FLAGS_DEFAULT_TILE_WIDTH_NAME, 1304 IDS_FLAGS_DEFAULT_TILE_WIDTH_NAME,
1305 IDS_FLAGS_DEFAULT_TILE_WIDTH_DESCRIPTION, 1305 IDS_FLAGS_DEFAULT_TILE_WIDTH_DESCRIPTION,
1306 kOsAll, 1306 kOsAll,
1307 MULTI_VALUE_TYPE(kDefaultTileWidthChoices) 1307 MULTI_VALUE_TYPE(kDefaultTileWidthChoices)
1308 }, 1308 },
(...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 } 2650 }
2651 2651
2652 const Experiment* GetExperiments(size_t* count) { 2652 const Experiment* GetExperiments(size_t* count) {
2653 *count = num_experiments; 2653 *count = num_experiments;
2654 return experiments; 2654 return experiments;
2655 } 2655 }
2656 2656
2657 } // namespace testing 2657 } // namespace testing
2658 2658
2659 } // namespace about_flags 2659 } // namespace about_flags
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698