OLD | NEW |
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 <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <iterator> | 10 #include <iterator> |
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 kOsAndroid | kOsLinux | kOsCrOS, | 1257 kOsAndroid | kOsLinux | kOsCrOS, |
1258 MULTI_VALUE_TYPE(kMaxPrepaintTileDistanceChoices) | 1258 MULTI_VALUE_TYPE(kMaxPrepaintTileDistanceChoices) |
1259 }, | 1259 }, |
1260 { | 1260 { |
1261 "max-tiles-for-interest-area", | 1261 "max-tiles-for-interest-area", |
1262 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME, | 1262 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_NAME, |
1263 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION, | 1263 IDS_FLAGS_MAX_TILES_FOR_INTEREST_AREA_DESCRIPTION, |
1264 kOsAndroid | kOsLinux | kOsCrOS, | 1264 kOsAndroid | kOsLinux | kOsCrOS, |
1265 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices) | 1265 MULTI_VALUE_TYPE(kMaxTilesForInterestAreaChoices) |
1266 }, | 1266 }, |
| 1267 { |
| 1268 "enable-offline-mode", |
| 1269 IDS_FLAGS_ENABLE_OFFLINE_MODE_NAME, |
| 1270 IDS_FLAGS_ENABLE_OFFLINE_MODE_DESCRIPTION, |
| 1271 kOsAll, |
| 1272 SINGLE_VALUE_TYPE(switches::kEnableOfflineCacheAccess) |
| 1273 }, |
1267 // TODO(sky): ifdef needed until focus sorted out in DesktopNativeWidgetAura. | 1274 // TODO(sky): ifdef needed until focus sorted out in DesktopNativeWidgetAura. |
1268 #if !defined(USE_AURA) | 1275 #if !defined(USE_AURA) |
1269 { | 1276 { |
1270 "track-active-visit-time", | 1277 "track-active-visit-time", |
1271 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_NAME, | 1278 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_NAME, |
1272 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_DESCRIPTION, | 1279 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_DESCRIPTION, |
1273 kOsWin, | 1280 kOsWin, |
1274 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime) | 1281 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime) |
1275 }, | 1282 }, |
1276 #endif | 1283 #endif |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1801 } | 1808 } |
1802 | 1809 |
1803 const Experiment* GetExperiments(size_t* count) { | 1810 const Experiment* GetExperiments(size_t* count) { |
1804 *count = num_experiments; | 1811 *count = num_experiments; |
1805 return experiments; | 1812 return experiments; |
1806 } | 1813 } |
1807 | 1814 |
1808 } // namespace testing | 1815 } // namespace testing |
1809 | 1816 |
1810 } // namespace about_flags | 1817 } // namespace about_flags |
OLD | NEW |