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 <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | 8 #include <iterator> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 kOsAll, | 375 kOsAll, |
376 SINGLE_VALUE_TYPE(switches::kEnablePanels) | 376 SINGLE_VALUE_TYPE(switches::kEnablePanels) |
377 }, | 377 }, |
378 { | 378 { |
379 "disable-shortcuts-provider", | 379 "disable-shortcuts-provider", |
380 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER, | 380 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER, |
381 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER_DESCRIPTION, | 381 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER_DESCRIPTION, |
382 kOsAll, | 382 kOsAll, |
383 SINGLE_VALUE_TYPE(switches::kDisableShortcutsProvider) | 383 SINGLE_VALUE_TYPE(switches::kDisableShortcutsProvider) |
384 }, | 384 }, |
| 385 #if defined(OS_CHROMEOS) |
| 386 { |
| 387 "enable-bluetooth", |
| 388 IDS_FLAGS_ENABLE_BLUETOOTH_NAME, |
| 389 IDS_FLAGS_ENABLE_BLUETOOTH_DESCRIPTION, |
| 390 kOsCrOS, |
| 391 SINGLE_VALUE_TYPE(switches::kEnableBluetooth) |
| 392 }, |
| 393 #endif |
385 { | 394 { |
386 "memory-widget", | 395 "memory-widget", |
387 IDS_FLAGS_MEMORY_WIDGET_NAME, | 396 IDS_FLAGS_MEMORY_WIDGET_NAME, |
388 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, | 397 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION, |
389 kOsCrOS, | 398 kOsCrOS, |
390 #if defined(OS_CHROMEOS) | 399 #if defined(OS_CHROMEOS) |
391 // This switch exists only on Chrome OS. | 400 // This switch exists only on Chrome OS. |
392 SINGLE_VALUE_TYPE(switches::kMemoryWidget) | 401 SINGLE_VALUE_TYPE(switches::kMemoryWidget) |
393 #else | 402 #else |
394 SINGLE_VALUE_TYPE("") | 403 SINGLE_VALUE_TYPE("") |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 } | 1032 } |
1024 | 1033 |
1025 const Experiment* GetExperiments(size_t* count) { | 1034 const Experiment* GetExperiments(size_t* count) { |
1026 *count = num_experiments; | 1035 *count = num_experiments; |
1027 return experiments; | 1036 return experiments; |
1028 } | 1037 } |
1029 | 1038 |
1030 } // namespace testing | 1039 } // namespace testing |
1031 | 1040 |
1032 } // namespace about_flags | 1041 } // namespace about_flags |
OLD | NEW |