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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 }, | 762 }, |
763 { | 763 { |
764 // See http://crbug.com/120416 for how to remove this flag. | 764 // See http://crbug.com/120416 for how to remove this flag. |
765 "save-page-as-mhtml", // FLAGS:RECORD_UMA | 765 "save-page-as-mhtml", // FLAGS:RECORD_UMA |
766 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME, | 766 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME, |
767 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, | 767 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, |
768 kOsMac | kOsWin | kOsLinux, | 768 kOsMac | kOsWin | kOsLinux, |
769 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML) | 769 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML) |
770 }, | 770 }, |
771 { | 771 { |
772 "enable-autologin", | |
773 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME, | |
774 IDS_FLAGS_ENABLE_AUTOLOGIN_DESCRIPTION, | |
775 kOsMac | kOsWin | kOsLinux, | |
776 SINGLE_VALUE_TYPE(switches::kEnableAutologin) | |
777 }, | |
778 { | |
779 "enable-quic", | 772 "enable-quic", |
780 IDS_FLAGS_ENABLE_QUIC_NAME, | 773 IDS_FLAGS_ENABLE_QUIC_NAME, |
781 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION, | 774 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION, |
782 kOsAll, | 775 kOsAll, |
783 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, | 776 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, |
784 switches::kDisableQuic) | 777 switches::kDisableQuic) |
785 }, | 778 }, |
786 { | 779 { |
787 "enable-quic-https", | 780 "enable-quic-https", |
788 IDS_FLAGS_ENABLE_QUIC_HTTPS_NAME, | 781 IDS_FLAGS_ENABLE_QUIC_HTTPS_NAME, |
(...skipping 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2377 } | 2370 } |
2378 | 2371 |
2379 const Experiment* GetExperiments(size_t* count) { | 2372 const Experiment* GetExperiments(size_t* count) { |
2380 *count = num_experiments; | 2373 *count = num_experiments; |
2381 return experiments; | 2374 return experiments; |
2382 } | 2375 } |
2383 | 2376 |
2384 } // namespace testing | 2377 } // namespace testing |
2385 | 2378 |
2386 } // namespace about_flags | 2379 } // namespace about_flags |
OLD | NEW |