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 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1515 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, | 1515 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications, |
1516 switches::kDisableDeviceDiscoveryNotifications) | 1516 switches::kDisableDeviceDiscoveryNotifications) |
1517 }, | 1517 }, |
1518 { | 1518 { |
1519 "disable-privet-local-printing", | 1519 "disable-privet-local-printing", |
1520 IDS_FLAGS_DISABLE_PRIVET_LOCAL_PRINTING_NAME, | 1520 IDS_FLAGS_DISABLE_PRIVET_LOCAL_PRINTING_NAME, |
1521 IDS_FLAGS_DISABLE_PRIVET_LOCAL_PRINTING_DESCRIPTION, | 1521 IDS_FLAGS_DISABLE_PRIVET_LOCAL_PRINTING_DESCRIPTION, |
1522 kOsWin | kOsLinux | kOsCrOS, | 1522 kOsWin | kOsLinux | kOsCrOS, |
1523 SINGLE_VALUE_TYPE(switches::kDisablePrivetLocalPrinting) | 1523 SINGLE_VALUE_TYPE(switches::kDisablePrivetLocalPrinting) |
1524 }, | 1524 }, |
| 1525 { |
| 1526 "enable-print-preview-register-promos", |
| 1527 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_NAME, |
| 1528 IDS_FLAGS_ENABLE_PRINT_PREVIEW_REGISTER_PROMOS_DESCRIPTION, |
| 1529 kOsWin | kOsLinux | kOsCrOS, |
| 1530 SINGLE_VALUE_TYPE(switches::kEnablePrintPreviewRegisterPromos) |
| 1531 }, |
1525 #endif // ENABLE_MDNS | 1532 #endif // ENABLE_MDNS |
1526 #if defined(OS_WIN) | 1533 #if defined(OS_WIN) |
1527 { | 1534 { |
1528 "enable-cloud-print-xps", | 1535 "enable-cloud-print-xps", |
1529 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_NAME, | 1536 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_NAME, |
1530 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_DESCRIPTION, | 1537 IDS_FLAGS_ENABLE_CLOUD_PRINT_XPS_DESCRIPTION, |
1531 kOsWin, | 1538 kOsWin, |
1532 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps) | 1539 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps) |
1533 }, | 1540 }, |
1534 #endif | 1541 #endif |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2433 } | 2440 } |
2434 | 2441 |
2435 const Experiment* GetExperiments(size_t* count) { | 2442 const Experiment* GetExperiments(size_t* count) { |
2436 *count = num_experiments; | 2443 *count = num_experiments; |
2437 return experiments; | 2444 return experiments; |
2438 } | 2445 } |
2439 | 2446 |
2440 } // namespace testing | 2447 } // namespace testing |
2441 | 2448 |
2442 } // namespace about_flags | 2449 } // namespace about_flags |
OLD | NEW |