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

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

Issue 5917001: Change the "Disable outdated plug-ins" lab to block them instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename command line switch and viewmsg Created 10 years 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/browser/plugin_service.cc » ('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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 0, 142 0,
143 #endif 143 #endif
144 kOsWin | kOsLinux | kOsCrOS, 144 kOsWin | kOsLinux | kOsCrOS,
145 SINGLE_VALUE_TYPE(switches::kEnableRemoting) 145 SINGLE_VALUE_TYPE(switches::kEnableRemoting)
146 }, 146 },
147 { 147 {
148 "disable-outdated-plugins", // FLAGS:RECORD_UMA 148 "disable-outdated-plugins", // FLAGS:RECORD_UMA
149 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_NAME, 149 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_NAME,
150 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION, 150 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION,
151 kOsAll, 151 kOsAll,
152 SINGLE_VALUE_TYPE(switches::kDisableOutdatedPlugins) 152 SINGLE_VALUE_TYPE(switches::kBlockOutdatedPlugins)
153 }, 153 },
154 { 154 {
155 "xss-auditor", // FLAGS:RECORD_UMA 155 "xss-auditor", // FLAGS:RECORD_UMA
156 IDS_FLAGS_XSS_AUDITOR_NAME, 156 IDS_FLAGS_XSS_AUDITOR_NAME,
157 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, 157 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION,
158 kOsAll, 158 kOsAll,
159 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) 159 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor)
160 }, 160 },
161 { 161 {
162 "background-webapps", // FLAGS:RECORD_UMA 162 "background-webapps", // FLAGS:RECORD_UMA
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 } 697 }
698 698
699 const Experiment* GetExperiments(size_t* count) { 699 const Experiment* GetExperiments(size_t* count) {
700 *count = num_experiments; 700 *count = num_experiments;
701 return experiments; 701 return experiments;
702 } 702 }
703 703
704 } // namespace testing 704 } // namespace testing
705 705
706 } // namespace about_flags 706 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698