OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 switches::kEnablePrintPreview | 144 switches::kEnablePrintPreview |
145 }, | 145 }, |
146 { | 146 { |
147 "dns-server", | 147 "dns-server", |
148 IDS_FLAGS_DNS_SERVER_NAME, | 148 IDS_FLAGS_DNS_SERVER_NAME, |
149 IDS_FLAGS_DNS_SERVER_DESCRIPTION, | 149 IDS_FLAGS_DNS_SERVER_DESCRIPTION, |
150 kOsLinux, | 150 kOsLinux, |
151 switches::kDnsServer | 151 switches::kDnsServer |
152 }, | 152 }, |
153 { | 153 { |
| 154 "page-prerender", |
| 155 IDS_FLAGS_PAGE_PRERENDER_NAME, |
| 156 IDS_FLAGS_PAGE_PRERENDER_DESCRIPTION, |
| 157 kOsAll, |
| 158 switches::kEnablePagePrerender |
| 159 }, |
| 160 { |
154 "confirm-to-quit", // Do not change; see above. | 161 "confirm-to-quit", // Do not change; see above. |
155 IDS_FLAGS_CONFIRM_TO_QUIT_NAME, | 162 IDS_FLAGS_CONFIRM_TO_QUIT_NAME, |
156 IDS_FLAGS_CONFIRM_TO_QUIT_DESCRIPTION, | 163 IDS_FLAGS_CONFIRM_TO_QUIT_DESCRIPTION, |
157 kOsMac, | 164 kOsMac, |
158 switches::kEnableConfirmToQuit | 165 switches::kEnableConfirmToQuit |
159 }, | 166 }, |
160 }; | 167 }; |
161 | 168 |
162 const Experiment* experiments = kExperiments; | 169 const Experiment* experiments = kExperiments; |
163 size_t num_experiments = arraysize(kExperiments); | 170 size_t num_experiments = arraysize(kExperiments); |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 num_experiments = arraysize(kExperiments); | 423 num_experiments = arraysize(kExperiments); |
417 } else { | 424 } else { |
418 experiments = e; | 425 experiments = e; |
419 num_experiments = count; | 426 num_experiments = count; |
420 } | 427 } |
421 } | 428 } |
422 | 429 |
423 } // namespace testing | 430 } // namespace testing |
424 | 431 |
425 } // namespace about_flags | 432 } // namespace about_flags |
OLD | NEW |