| 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 kOsAll, | 685 kOsAll, |
| 686 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage) | 686 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage) |
| 687 }, | 687 }, |
| 688 { | 688 { |
| 689 "enable-discovery-ntp", | 689 "enable-discovery-ntp", |
| 690 IDS_FLAGS_ENABLE_NTP_DISCOVERY_NAME, | 690 IDS_FLAGS_ENABLE_NTP_DISCOVERY_NAME, |
| 691 IDS_FLAGS_ENABLE_NTP_DISCOVERY_DESCRIPTION, | 691 IDS_FLAGS_ENABLE_NTP_DISCOVERY_DESCRIPTION, |
| 692 kOsAll, | 692 kOsAll, |
| 693 SINGLE_VALUE_TYPE(switches::kEnableDiscoveryInNewTabPage) | 693 SINGLE_VALUE_TYPE(switches::kEnableDiscoveryInNewTabPage) |
| 694 }, | 694 }, |
| 695 { | |
| 696 "disable-chrome-to-mobile", // FLAGS:RECORD_UMA | |
| 697 IDS_FLAGS_DISABLE_CHROME_TO_MOBILE_NAME, | |
| 698 IDS_FLAGS_DISABLE_CHROME_TO_MOBILE_DESCRIPTION, | |
| 699 kOsAll, | |
| 700 SINGLE_VALUE_TYPE(switches::kDisableChromeToMobile) | |
| 701 }, | |
| 702 #if defined(GOOGLE_CHROME_BUILD) | 695 #if defined(GOOGLE_CHROME_BUILD) |
| 703 { | 696 { |
| 704 "disable-asynchronous-spellchecking", | 697 "disable-asynchronous-spellchecking", |
| 705 IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING, | 698 IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING, |
| 706 IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING_DESCRIPTION, | 699 IDS_FLAGS_DISABLE_ASYNCHRONOUS_SPELLCHECKING_DESCRIPTION, |
| 707 kOsWin | kOsLinux | kOsCrOS, | 700 kOsWin | kOsLinux | kOsCrOS, |
| 708 SINGLE_VALUE_TYPE(switches::kDisableAsynchronousSpellChecking) | 701 SINGLE_VALUE_TYPE(switches::kDisableAsynchronousSpellChecking) |
| 709 }, | 702 }, |
| 710 #endif | 703 #endif |
| 711 { | 704 { |
| (...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 } | 1359 } |
| 1367 | 1360 |
| 1368 const Experiment* GetExperiments(size_t* count) { | 1361 const Experiment* GetExperiments(size_t* count) { |
| 1369 *count = num_experiments; | 1362 *count = num_experiments; |
| 1370 return experiments; | 1363 return experiments; |
| 1371 } | 1364 } |
| 1372 | 1365 |
| 1373 } // namespace testing | 1366 } // namespace testing |
| 1374 | 1367 |
| 1375 } // namespace about_flags | 1368 } // namespace about_flags |
| OLD | NEW |