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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 kOsAll, | 337 kOsAll, |
338 SINGLE_VALUE_TYPE(switches::kEnablePanels) | 338 SINGLE_VALUE_TYPE(switches::kEnablePanels) |
339 }, | 339 }, |
340 { | 340 { |
341 "enable-shortcuts-provider", | 341 "enable-shortcuts-provider", |
342 IDS_FLAGS_ENABLE_SHORTCUTS_PROVIDER, | 342 IDS_FLAGS_ENABLE_SHORTCUTS_PROVIDER, |
343 IDS_FLAGS_ENABLE_SHORTCUTS_PROVIDER_DESCRIPTION, | 343 IDS_FLAGS_ENABLE_SHORTCUTS_PROVIDER_DESCRIPTION, |
344 kOsAll, | 344 kOsAll, |
345 SINGLE_VALUE_TYPE(switches::kEnableShortcutsProvider) | 345 SINGLE_VALUE_TYPE(switches::kEnableShortcutsProvider) |
346 }, | 346 }, |
| 347 #if defined(OS_CHROMEOS) |
| 348 { |
| 349 "webui-login", |
| 350 IDS_SYNC_SETUP_TITLE, |
| 351 IDS_OPTIONS_SETTINGS_INTERNET_OPTIONS_ADVANCED_BUTTON, |
| 352 kOsCrOS, |
| 353 SINGLE_VALUE_TYPE(switches::kWebUILogin) |
| 354 }, |
| 355 #endif |
347 { | 356 { |
348 "memory-widget", | 357 "memory-widget", |
349 IDS_FLAGS_MEMORY_WIDGET_NAME, | 358 IDS_FLAGS_MEMORY_WIDGET_NAME, |
350 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, | 359 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, |
351 kOsCrOS, | 360 kOsCrOS, |
352 #if defined(OS_CHROMEOS) | 361 #if defined(OS_CHROMEOS) |
353 // This switch exists only on Chrome OS. | 362 // This switch exists only on Chrome OS. |
354 SINGLE_VALUE_TYPE(switches::kMemoryWidget) | 363 SINGLE_VALUE_TYPE(switches::kMemoryWidget) |
355 #else | 364 #else |
356 SINGLE_VALUE_TYPE("") | 365 SINGLE_VALUE_TYPE("") |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
788 } | 797 } |
789 | 798 |
790 const Experiment* GetExperiments(size_t* count) { | 799 const Experiment* GetExperiments(size_t* count) { |
791 *count = num_experiments; | 800 *count = num_experiments; |
792 return experiments; | 801 return experiments; |
793 } | 802 } |
794 | 803 |
795 } // namespace testing | 804 } // namespace testing |
796 | 805 |
797 } // namespace about_flags | 806 } // namespace about_flags |
OLD | NEW |