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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 kOsMac | kOsWin, | 1460 kOsMac | kOsWin, |
1461 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame) | 1461 SINGLE_VALUE_TYPE(switches::kAppsUseNativeFrame) |
1462 }, | 1462 }, |
1463 { | 1463 { |
1464 "enable-syncfs-directory-operation", | 1464 "enable-syncfs-directory-operation", |
1465 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME, | 1465 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_NAME, |
1466 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION, | 1466 IDS_FLAGS_ENABLE_SYNC_DIRECTORY_OPERATION_DESCRIPTION, |
1467 kOsAll, | 1467 kOsAll, |
1468 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation), | 1468 SINGLE_VALUE_TYPE(switches::kSyncfsEnableDirectoryOperation), |
1469 }, | 1469 }, |
| 1470 #if defined(ENABLE_MDNS) |
1470 { | 1471 { |
1471 "disable-device-discovery", | 1472 "disable-device-discovery", |
1472 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME, | 1473 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME, |
1473 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION, | 1474 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION, |
1474 kOsWin | kOsLinux | kOsCrOS, | 1475 kOsWin | kOsLinux | kOsCrOS, |
1475 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery) | 1476 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery) |
1476 }, | 1477 }, |
| 1478 { |
| 1479 "disable-device-discovery-notifications", |
| 1480 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NOTIFICATIONS_NAME, |
| 1481 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, |
| 1482 kOsWin | kOsLinux | kOsCrOS, |
| 1483 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscoveryNotifications) |
| 1484 }, |
| 1485 #endif // ENABLE_MDNS |
1477 #if defined(OS_MACOSX) | 1486 #if defined(OS_MACOSX) |
1478 { | 1487 { |
1479 "enable-app-list-shim", | 1488 "enable-app-list-shim", |
1480 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME, | 1489 IDS_FLAGS_ENABLE_APP_LIST_SHIM_NAME, |
1481 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION, | 1490 IDS_FLAGS_ENABLE_APP_LIST_SHIM_DESCRIPTION, |
1482 kOsMac, | 1491 kOsMac, |
1483 SINGLE_VALUE_TYPE(switches::kEnableAppListShim) | 1492 SINGLE_VALUE_TYPE(switches::kEnableAppListShim) |
1484 }, | 1493 }, |
1485 { | 1494 { |
1486 "enable-app-shims", | 1495 "enable-app-shims", |
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2132 } | 2141 } |
2133 | 2142 |
2134 const Experiment* GetExperiments(size_t* count) { | 2143 const Experiment* GetExperiments(size_t* count) { |
2135 *count = num_experiments; | 2144 *count = num_experiments; |
2136 return experiments; | 2145 return experiments; |
2137 } | 2146 } |
2138 | 2147 |
2139 } // namespace testing | 2148 } // namespace testing |
2140 | 2149 |
2141 } // namespace about_flags | 2150 } // namespace about_flags |
OLD | NEW |