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

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

Issue 6065004: Block outdated plugins by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add flag to allow outdated plugins 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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Linux only supports client functionality at the moment. 138 // Linux only supports client functionality at the moment.
139 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION, 139 IDS_FLAGS_REMOTING_CLIENT_DESCRIPTION,
140 #else 140 #else
141 // On other platforms, this lab isn't available at all. 141 // On other platforms, this lab isn't available at all.
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
149 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_NAME,
150 IDS_FLAGS_DISABLE_OUTDATED_PLUGINS_DESCRIPTION,
151 kOsAll,
152 SINGLE_VALUE_TYPE(switches::kBlockOutdatedPlugins)
153 },
154 {
155 "xss-auditor", // FLAGS:RECORD_UMA 148 "xss-auditor", // FLAGS:RECORD_UMA
156 IDS_FLAGS_XSS_AUDITOR_NAME, 149 IDS_FLAGS_XSS_AUDITOR_NAME,
157 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION, 150 IDS_FLAGS_XSS_AUDITOR_DESCRIPTION,
158 kOsAll, 151 kOsAll,
159 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor) 152 SINGLE_VALUE_TYPE(switches::kEnableXSSAuditor)
160 }, 153 },
161 { 154 {
162 "background-webapps", // FLAGS:RECORD_UMA 155 "background-webapps", // FLAGS:RECORD_UMA
163 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME, 156 IDS_FLAGS_BACKGROUND_WEBAPPS_NAME,
164 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION, 157 IDS_FLAGS_BACKGROUND_WEBAPPS_DESCRIPTION,
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 } 690 }
698 691
699 const Experiment* GetExperiments(size_t* count) { 692 const Experiment* GetExperiments(size_t* count) {
700 *count = num_experiments; 693 *count = num_experiments;
701 return experiments; 694 return experiments;
702 } 695 }
703 696
704 } // namespace testing 697 } // namespace testing
705 698
706 } // namespace about_flags 699 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698