OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) | 289 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) |
290 }, | 290 }, |
291 { | 291 { |
292 "ppapi-flash-in-process", | 292 "ppapi-flash-in-process", |
293 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_NAME, | 293 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_NAME, |
294 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_DESCRIPTION, | 294 IDS_FLAGS_PPAPI_FLASH_IN_PROCESS_DESCRIPTION, |
295 kOsAll, | 295 kOsAll, |
296 SINGLE_VALUE_TYPE(switches::kPpapiFlashInProcess) | 296 SINGLE_VALUE_TYPE(switches::kPpapiFlashInProcess) |
297 }, | 297 }, |
298 { | 298 { |
| 299 "enable-vpn", |
| 300 IDS_FLAGS_ENABLE_VPN_NAME, |
| 301 IDS_FLAGS_ENABLE_VPN_DESCRIPTION, |
| 302 kOsCrOS, |
| 303 #if defined(OS_CHROMEOS) |
| 304 // The switch exists only on Chrome OS. |
| 305 SINGLE_VALUE_TYPE(switches::kEnableVPN) |
| 306 #else |
| 307 SINGLE_VALUE_TYPE("") |
| 308 #endif |
| 309 }, |
| 310 { |
299 "multi-profiles", | 311 "multi-profiles", |
300 IDS_FLAGS_MULTI_PROFILES_NAME, | 312 IDS_FLAGS_MULTI_PROFILES_NAME, |
301 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, | 313 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, |
302 kOsAll, | 314 kOsAll, |
303 SINGLE_VALUE_TYPE(switches::kMultiProfiles) | 315 SINGLE_VALUE_TYPE(switches::kMultiProfiles) |
304 }, | 316 }, |
305 { | 317 { |
306 "restrict-instant-to-search", | 318 "restrict-instant-to-search", |
307 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, | 319 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, |
308 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, | 320 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 } | 761 } |
750 | 762 |
751 const Experiment* GetExperiments(size_t* count) { | 763 const Experiment* GetExperiments(size_t* count) { |
752 *count = num_experiments; | 764 *count = num_experiments; |
753 return experiments; | 765 return experiments; |
754 } | 766 } |
755 | 767 |
756 } // namespace testing | 768 } // namespace testing |
757 | 769 |
758 } // namespace about_flags | 770 } // namespace about_flags |
OLD | NEW |