Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: chrome/browser/about_flags.cc

Issue 4226002: Add flags for page prerendering. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698