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 <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 }, | 1343 }, |
1344 { | 1344 { |
1345 "enable-tcp-fast-open", | 1345 "enable-tcp-fast-open", |
1346 IDS_FLAGS_ENABLE_TCP_FAST_OPEN_NAME, | 1346 IDS_FLAGS_ENABLE_TCP_FAST_OPEN_NAME, |
1347 IDS_FLAGS_ENABLE_TCP_FAST_OPEN_DESCRIPTION, | 1347 IDS_FLAGS_ENABLE_TCP_FAST_OPEN_DESCRIPTION, |
1348 kOsLinux | kOsCrOS | kOsAndroid, | 1348 kOsLinux | kOsCrOS | kOsAndroid, |
1349 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen) | 1349 SINGLE_VALUE_TYPE(switches::kEnableTcpFastOpen) |
1350 }, | 1350 }, |
1351 #if defined(ENABLE_SERVICE_DISCOVERY) | 1351 #if defined(ENABLE_SERVICE_DISCOVERY) |
1352 { | 1352 { |
1353 "disable-device-discovery", | |
1354 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_NAME, | |
1355 IDS_FLAGS_DISABLE_DEVICE_DISCOVERY_DESCRIPTION, | |
1356 kOsDesktop, | |
1357 SINGLE_VALUE_TYPE(switches::kDisableDeviceDiscovery) | |
1358 }, | |
1359 { | |
1360 "device-discovery-notifications", | 1353 "device-discovery-notifications", |
1361 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_NAME, | 1354 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_NAME, |
1362 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, | 1355 IDS_FLAGS_DEVICE_DISCOVERY_NOTIFICATIONS_DESCRIPTION, |
1363 kOsDesktop, | 1356 kOsDesktop, |
1364 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, | 1357 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, |
1365 switches::kDisableDeviceDiscoveryNotifications) | 1358 switches::kDisableDeviceDiscoveryNotifications) |
1366 }, | 1359 }, |
1367 { | 1360 { |
1368 "enable-cloud-devices", | 1361 "enable-cloud-devices", |
1369 IDS_FLAGS_ENABLE_CLOUD_DEVICES_NAME, | 1362 IDS_FLAGS_ENABLE_CLOUD_DEVICES_NAME, |
(...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2442 } | 2435 } |
2443 | 2436 |
2444 const Experiment* GetExperiments(size_t* count) { | 2437 const Experiment* GetExperiments(size_t* count) { |
2445 *count = num_experiments; | 2438 *count = num_experiments; |
2446 return experiments; | 2439 return experiments; |
2447 } | 2440 } |
2448 | 2441 |
2449 } // namespace testing | 2442 } // namespace testing |
2450 | 2443 |
2451 } // namespace about_flags | 2444 } // namespace about_flags |
OLD | NEW |