| 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 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1478 kOsMac | kOsWin, | 1478 kOsMac | kOsWin, |
| 1479 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame) | 1479 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame) |
| 1480 }, | 1480 }, |
| 1481 { | 1481 { |
| 1482 "enable-syncfs-directory-operation", | 1482 "enable-syncfs-directory-operation", |
| 1483 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME, | 1483 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME, |
| 1484 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION, | 1484 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION, |
| 1485 kOsAll, | 1485 kOsAll, |
| 1486 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation), | 1486 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation), |
| 1487 }, | 1487 }, |
| 1488 #if defined(ENABLE_MDNS) |
| 1488 { | 1489 { |
| 1489 "disable-device-discovery", | 1490 "disable-device-discovery", |
| 1490 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME, | 1491 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME, |
| 1491 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION, | 1492 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION, |
| 1492 kOsWin | kOsLinux | kOsCrOS, | 1493 kOsWin | kOsLinux | kOsCrOS, |
| 1493 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery) | 1494 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery) |
| 1494 }, | 1495 }, |
| 1496 { |
| 1497 "disable-device-discovery-notifications", |
| 1498 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NOTIFICATIONS_NAME, |
| 1499 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, |
| 1500 kOsWin | kOsLinux | kOsCrOS, |
| 1501 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscoveryNotifications) |
| 1502 }, |
| 1503 #endif // ENABLE_MDNS |
| 1495 #if defined(OS_MACOSX) | 1504 #if defined(OS_MACOSX) |
| 1496 { | 1505 { |
| 1497 "enable-app-list-shim", | 1506 "enable-app-list-shim", |
| 1498 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME, | 1507 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME, |
| 1499 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION, | 1508 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION, |
| 1500 kOsMac, | 1509 kOsMac, |
| 1501 SINGLE_VALUE_TYPE(switches::kEnableAppListShim) | 1510 SINGLE_VALUE_TYPE(switches::kEnableAppListShim) |
| 1502 }, | 1511 }, |
| 1503 { | 1512 { |
| 1504 "enable-app-shims", | 1513 "enable-app-shims", |
| (...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2150 } | 2159 } |
| 2151 | 2160 |
| 2152 const Experiment* GetExperiments(size_t* count) { | 2161 const Experiment* GetExperiments(size_t* count) { |
| 2153 *count = num_experiments; | 2162 *count = num_experiments; |
| 2154 return experiments; | 2163 return experiments; |
| 2155 } | 2164 } |
| 2156 | 2165 |
| 2157 } // namespace testing | 2166 } // namespace testing |
| 2158 | 2167 |
| 2159 } // namespace about_flags | 2168 } // namespace about_flags |
| OLD | NEW |