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 1215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1226 kOsDesktop, | 1226 kOsDesktop, |
1227 SINGLE_VALUE_TYPE(switches::kAppsDevtool) | 1227 SINGLE_VALUE_TYPE(switches::kAppsDevtool) |
1228 }, | 1228 }, |
1229 { | 1229 { |
1230 "impl-side-painting", | 1230 "impl-side-painting", |
1231 IDS_FLAGS_IMPL_SIDE_PAINTING_NAME, | 1231 IDS_FLAGS_IMPL_SIDE_PAINTING_NAME, |
1232 IDS_FLAGS_IMPL_SIDE_PAINTING_DESCRIPTION, | 1232 IDS_FLAGS_IMPL_SIDE_PAINTING_DESCRIPTION, |
1233 kOsAndroid | kOsLinux | kOsCrOS, | 1233 kOsAndroid | kOsLinux | kOsCrOS, |
1234 MULTI_VALUE_TYPE(kImplSidePaintingChoices) | 1234 MULTI_VALUE_TYPE(kImplSidePaintingChoices) |
1235 }, | 1235 }, |
| 1236 { |
| 1237 "enable-offline-mode", |
| 1238 IDS_FLAGS_ENABLE_OFFLINE_MODE_NAME, |
| 1239 IDS_FLAGS_ENABLE_OFFLINE_MODE_DESCRIPTION, |
| 1240 kOsAll, |
| 1241 SINGLE_VALUE_TYPE(switches::kEnableOfflineCacheAccess) |
| 1242 }, |
1236 // TODO(sky): ifdef needed until focus sorted out in DesktopNativeWidgetAura. | 1243 // TODO(sky): ifdef needed until focus sorted out in DesktopNativeWidgetAura. |
1237 #if !defined(USE_AURA) | 1244 #if !defined(USE_AURA) |
1238 { | 1245 { |
1239 "track-active-visit-time", | 1246 "track-active-visit-time", |
1240 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_NAME, | 1247 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_NAME, |
1241 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_DESCRIPTION, | 1248 IDS_FLAGS_TRACK_ACTIVE_VISIT_TIME_DESCRIPTION, |
1242 kOsWin, | 1249 kOsWin, |
1243 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime) | 1250 SINGLE_VALUE_TYPE(switches::kTrackActiveVisitTime) |
1244 }, | 1251 }, |
1245 #endif | 1252 #endif |
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1763 } | 1770 } |
1764 | 1771 |
1765 const Experiment* GetExperiments(size_t* count) { | 1772 const Experiment* GetExperiments(size_t* count) { |
1766 *count = num_experiments; | 1773 *count = num_experiments; |
1767 return experiments; | 1774 return experiments; |
1768 } | 1775 } |
1769 | 1776 |
1770 } // namespace testing | 1777 } // namespace testing |
1771 | 1778 |
1772 } // namespace about_flags | 1779 } // namespace about_flags |
OLD | NEW |