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

Side by Side Diff: chrome/common/plugin_group.cc

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 years, 4 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
« no previous file with comments | « chrome/common/plugin_group.h ('k') | chrome/common/process_watcher.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/common/plugin_group.h" 5 #include "chrome/common/plugin_group.h"
6 6
7 #include "base/linked_ptr.h"
7 #include "base/string_util.h" 8 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 #include "base/version.h" 11 #include "base/version.h"
11 #include "webkit/glue/plugins/plugin_list.h" 12 #include "webkit/glue/plugins/plugin_list.h"
13 #include "webkit/glue/plugins/webplugininfo.h"
12 14
13 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
14 // Plugin Groups for Mac. 16 // Plugin Groups for Mac.
15 // Plugins are listed here as soon as vulnerabilities and solutions 17 // Plugins are listed here as soon as vulnerabilities and solutions
16 // (new versions) are published. 18 // (new versions) are published.
17 // TODO(panayiotis): Get the Real Player version on Mac, somehow. 19 // TODO(panayiotis): Get the Real Player version on Mac, somehow.
18 static const PluginGroupDefinition kGroupDefinitions[] = { 20 static const PluginGroupDefinition kGroupDefinitions[] = {
19 { "Quicktime", "QuickTime Plug-in", "", "", "7.6.6", 21 { "Quicktime", "QuickTime Plug-in", "", "", "7.6.6",
20 "http://www.apple.com/quicktime/download/" }, 22 "http://www.apple.com/quicktime/download/" },
21 { "Java", "Java", "", "", "", 23 { "Java", "Java", "", "", "",
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 for (std::vector<WebPluginInfo>::const_iterator it = 369 for (std::vector<WebPluginInfo>::const_iterator it =
368 web_plugin_infos_.begin(); 370 web_plugin_infos_.begin();
369 it != web_plugin_infos_.end(); ++it) { 371 it != web_plugin_infos_.end(); ++it) {
370 if (enable && !IsPluginNameDisabledByPolicy(it->name)) { 372 if (enable && !IsPluginNameDisabledByPolicy(it->name)) {
371 NPAPI::PluginList::Singleton()->EnablePlugin(it->path); 373 NPAPI::PluginList::Singleton()->EnablePlugin(it->path);
372 } else { 374 } else {
373 NPAPI::PluginList::Singleton()->DisablePlugin(it->path); 375 NPAPI::PluginList::Singleton()->DisablePlugin(it->path);
374 } 376 }
375 } 377 }
376 } 378 }
OLDNEW
« no previous file with comments | « chrome/common/plugin_group.h ('k') | chrome/common/process_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698