| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "webkit/plugins/npapi/plugin_list.h" | 5 #include "webkit/plugins/npapi/plugin_list.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // http://www.adobe.com/support/security/bulletins/apsb11-08.html | 99 // http://www.adobe.com/support/security/bulletins/apsb11-08.html |
| 100 static const VersionRangeDefinition kAdobeReaderVersionRange[] = { | 100 static const VersionRangeDefinition kAdobeReaderVersionRange[] = { |
| 101 { "10", "11", "10.0.1", false }, | 101 { "10", "11", "10.0.1", false }, |
| 102 { "9", "10", "9.4.4", false }, | 102 { "9", "10", "9.4.4", false }, |
| 103 { "0", "9", "8.2.6", false } | 103 { "0", "9", "8.2.6", false } |
| 104 }; | 104 }; |
| 105 static const VersionRangeDefinition kDivXVersionRange[] = { | 105 static const VersionRangeDefinition kDivXVersionRange[] = { |
| 106 { "", "", "1.4.3.4", false } | 106 { "", "", "1.4.3.4", false } |
| 107 }; | 107 }; |
| 108 static const VersionRangeDefinition kRealPlayerVersionRange[] = { | 108 static const VersionRangeDefinition kRealPlayerVersionRange[] = { |
| 109 { "", "", "12.0.1.633", true } | 109 { "", "", "12.0.1.666", true } |
| 110 }; | 110 }; |
| 111 static const VersionRangeDefinition kWindowsMediaPlayerVersionRange[] = { | 111 static const VersionRangeDefinition kWindowsMediaPlayerVersionRange[] = { |
| 112 { "", "", "", true } | 112 { "", "", "", true } |
| 113 }; | 113 }; |
| 114 static const PluginGroupDefinition kGroupDefinitions[] = { | 114 static const PluginGroupDefinition kGroupDefinitions[] = { |
| 115 kFlashDefinition, | 115 kFlashDefinition, |
| 116 { "apple-quicktime", PluginGroup::kQuickTimeGroupName, "QuickTime Plug-in", | 116 { "apple-quicktime", PluginGroup::kQuickTimeGroupName, "QuickTime Plug-in", |
| 117 kQuicktimeVersionRange, arraysize(kQuicktimeVersionRange), | 117 kQuicktimeVersionRange, arraysize(kQuicktimeVersionRange), |
| 118 "http://www.apple.com/quicktime/download/" }, | 118 "http://www.apple.com/quicktime/download/" }, |
| 119 { "java-runtime-environment", PluginGroup::kJavaGroupName, "Java", | 119 { "java-runtime-environment", PluginGroup::kJavaGroupName, "Java", |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 } | 777 } |
| 778 return false; | 778 return false; |
| 779 } | 779 } |
| 780 | 780 |
| 781 PluginList::~PluginList() { | 781 PluginList::~PluginList() { |
| 782 } | 782 } |
| 783 | 783 |
| 784 | 784 |
| 785 } // namespace npapi | 785 } // namespace npapi |
| 786 } // namespace webkit | 786 } // namespace webkit |
| OLD | NEW |