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

Side by Side Diff: chrome/browser/plugins/plugin_data_remover_helper.cc

Issue 10933044: Move chrome/browser/plugin_* to chrome/browser/plugins/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@remove_plugin_group
Patch Set: . Created 8 years, 3 months 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
OLDNEW
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/plugin_data_remover_helper.h" 5 #include "chrome/browser/plugins/plugin_data_remover_helper.h"
6 6
7 #include "chrome/browser/plugin_prefs.h" 7 #include "chrome/browser/plugins/plugin_prefs.h"
8 #include "content/public/browser/plugin_data_remover.h" 8 #include "content/public/browser/plugin_data_remover.h"
9 #include "webkit/plugins/webplugininfo.h" 9 #include "webkit/plugins/webplugininfo.h"
10 10
11 // static 11 // static
12 bool PluginDataRemoverHelper::IsSupported(PluginPrefs* plugin_prefs) { 12 bool PluginDataRemoverHelper::IsSupported(PluginPrefs* plugin_prefs) {
13 std::vector<webkit::WebPluginInfo> plugins; 13 std::vector<webkit::WebPluginInfo> plugins;
14 content::PluginDataRemover::GetSupportedPlugins(&plugins); 14 content::PluginDataRemover::GetSupportedPlugins(&plugins);
15 for (std::vector<webkit::WebPluginInfo>::const_iterator it = plugins.begin(); 15 for (std::vector<webkit::WebPluginInfo>::const_iterator it = plugins.begin();
16 it != plugins.end(); ++it) { 16 it != plugins.end(); ++it) {
17 if (plugin_prefs->IsPluginEnabled(*it)) 17 if (plugin_prefs->IsPluginEnabled(*it))
18 return true; 18 return true;
19 } 19 }
20 return false; 20 return false;
21 } 21 }
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_data_remover_helper.h ('k') | chrome/browser/plugins/plugin_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698