| OLD | NEW |
| 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/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "base/version.h" | 10 #include "base/version.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 { "Flip4Mac", "Flip4Mac", "", "", "2.2.1", | 29 { "Flip4Mac", "Flip4Mac", "", "", "2.2.1", |
| 30 "http://www.telestream.net/flip4mac-wmv/overview.htm" }, | 30 "http://www.telestream.net/flip4mac-wmv/overview.htm" }, |
| 31 { "Shockwave", "Shockwave for Director", "", "", "11.5.7.609", | 31 { "Shockwave", "Shockwave for Director", "", "", "11.5.7.609", |
| 32 "http://www.adobe.com/shockwave/download/" } | 32 "http://www.adobe.com/shockwave/download/" } |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 #elif defined(OS_WIN) | 35 #elif defined(OS_WIN) |
| 36 // TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of | 36 // TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of |
| 37 // the RealPlayer files. | 37 // the RealPlayer files. |
| 38 static const PluginGroupDefinition kGroupDefinitions[] = { | 38 static const PluginGroupDefinition kGroupDefinitions[] = { |
| 39 { "Quicktime", "QuickTime Plug-in", "", "", "7.6.6", | 39 { "Quicktime", "QuickTime Plug-in", "", "", "7.6.7", |
| 40 "http://www.apple.com/quicktime/download/" }, | 40 "http://www.apple.com/quicktime/download/" }, |
| 41 { "Java 6", "Java", "", "6", "6.0.200", | 41 { "Java 6", "Java", "", "6", "6.0.200", |
| 42 "http://www.java.com/" }, | 42 "http://www.java.com/" }, |
| 43 { "Adobe Reader 9", "Adobe Acrobat", "9", "10", "9.3.3", | 43 { "Adobe Reader 9", "Adobe Acrobat", "9", "10", "9.3.3", |
| 44 "http://get.adobe.com/reader/" }, | 44 "http://get.adobe.com/reader/" }, |
| 45 { "Adobe Reader 8", "Adobe Acrobat", "0", "9", "8.2.3", | 45 { "Adobe Reader 8", "Adobe Acrobat", "0", "9", "8.2.3", |
| 46 "http://get.adobe.com/reader/" }, | 46 "http://get.adobe.com/reader/" }, |
| 47 { "Flash", "Shockwave Flash", "", "", "10.1.82", | 47 { "Flash", "Shockwave Flash", "", "", "10.1.82", |
| 48 "http://get.adobe.com/flashplayer/" }, | 48 "http://get.adobe.com/flashplayer/" }, |
| 49 { "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0", | 49 { "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0", |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 for (std::vector<WebPluginInfo>::const_iterator it = | 344 for (std::vector<WebPluginInfo>::const_iterator it = |
| 345 web_plugin_infos_.begin(); | 345 web_plugin_infos_.begin(); |
| 346 it != web_plugin_infos_.end(); ++it) { | 346 it != web_plugin_infos_.end(); ++it) { |
| 347 if (enable && !IsPluginNameDisabledByPolicy(it->name)) { | 347 if (enable && !IsPluginNameDisabledByPolicy(it->name)) { |
| 348 NPAPI::PluginList::Singleton()->EnablePlugin(FilePath(it->path)); | 348 NPAPI::PluginList::Singleton()->EnablePlugin(FilePath(it->path)); |
| 349 } else { | 349 } else { |
| 350 NPAPI::PluginList::Singleton()->DisablePlugin(FilePath(it->path)); | 350 NPAPI::PluginList::Singleton()->DisablePlugin(FilePath(it->path)); |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 } | 353 } |
| 354 | |
| OLD | NEW |