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 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
992 }, | 992 }, |
993 #endif | 993 #endif |
994 { | 994 { |
995 "enable-download-resumption", | 995 "enable-download-resumption", |
996 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME, | 996 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME, |
997 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION, | 997 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION, |
998 kOsDesktop, | 998 kOsDesktop, |
999 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) | 999 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption) |
1000 }, | 1000 }, |
1001 { | 1001 { |
1002 "disable-download-shelf", | |
asanka
2013/07/24 20:09:57
Could you add a '// FLAGS:RECORD_UMA' and update c
| |
1003 IDS_FLAGS_DISABLE_DOWNLOAD_SHELF_NAME, | |
1004 IDS_FLAGS_DISABLE_DOWNLOAD_SHELF_DESCRIPTION, | |
1005 kOsDesktop, | |
1006 SINGLE_VALUE_TYPE(switches::kDisableDownloadShelf) | |
1007 }, | |
1008 { | |
1002 "allow-nacl-socket-api", | 1009 "allow-nacl-socket-api", |
1003 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, | 1010 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, |
1004 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, | 1011 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, |
1005 kOsDesktop, | 1012 kOsDesktop, |
1006 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") | 1013 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") |
1007 }, | 1014 }, |
1008 { | 1015 { |
1009 "stacked-tab-strip", | 1016 "stacked-tab-strip", |
1010 IDS_FLAGS_STACKED_TAB_STRIP_NAME, | 1017 IDS_FLAGS_STACKED_TAB_STRIP_NAME, |
1011 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, | 1018 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, |
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2121 } | 2128 } |
2122 | 2129 |
2123 const Experiment* GetExperiments(size_t* count) { | 2130 const Experiment* GetExperiments(size_t* count) { |
2124 *count = num_experiments; | 2131 *count = num_experiments; |
2125 return experiments; | 2132 return experiments; |
2126 } | 2133 } |
2127 | 2134 |
2128 } // namespace testing | 2135 } // namespace testing |
2129 | 2136 |
2130 } // namespace about_flags | 2137 } // namespace about_flags |
OLD | NEW |