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

Side by Side Diff: webkit/plugins/npapi/plugin_list.cc

Issue 8440010: Update version metadata for Flash, Reader, Shockwave. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | 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) 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 10 matching lines...) Expand all
21 #include "webkit/plugins/plugin_switches.h" 21 #include "webkit/plugins/plugin_switches.h"
22 22
23 namespace webkit { 23 namespace webkit {
24 namespace npapi { 24 namespace npapi {
25 25
26 FilePath::CharType kDefaultPluginLibraryName[] = 26 FilePath::CharType kDefaultPluginLibraryName[] =
27 FILE_PATH_LITERAL("default_plugin"); 27 FILE_PATH_LITERAL("default_plugin");
28 28
29 // Some version ranges can be shared across operating systems. This should be 29 // Some version ranges can be shared across operating systems. This should be
30 // done where possible to avoid duplication. 30 // done where possible to avoid duplication.
31 // This is up to date with
32 // http://www.adobe.com/support/security/bulletins/apsb11-26.html
31 static const VersionRangeDefinition kFlashVersionRange[] = { 33 static const VersionRangeDefinition kFlashVersionRange[] = {
32 { "", "", "10.2.153", false } 34 { "", "", "10.3.183", false }
33 }; 35 };
36 // This is up to date with
37 // http://www.adobe.com/support/security/bulletins/apsb11-19.html
34 static const VersionRangeDefinition kShockwaveVersionRange[] = { 38 static const VersionRangeDefinition kShockwaveVersionRange[] = {
35 { "", "", "11.5.9.620", true } 39 { "", "", "11.6.1.629", true }
36 }; 40 };
37 static const VersionRangeDefinition kSilverlightVersionRange[] = { 41 static const VersionRangeDefinition kSilverlightVersionRange[] = {
38 { "0", "4", "3.0.50611.0", false }, 42 { "0", "4", "3.0.50611.0", false },
39 { "4", "5", "", false } 43 { "4", "5", "", false }
40 }; 44 };
41 45
42 // Similarly, try and share the group definition for plug-ins that are 46 // Similarly, try and share the group definition for plug-ins that are
43 // very consistent across OS'es. 47 // very consistent across OS'es.
44 static const PluginGroupDefinition kFlashDefinition = { 48 static const PluginGroupDefinition kFlashDefinition = {
45 "adobe-flash-player", "Flash", "Shockwave Flash", kFlashVersionRange, 49 "adobe-flash-player", "Flash", "Shockwave Flash", kFlashVersionRange,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of 95 // TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of
92 // the RealPlayer files. 96 // the RealPlayer files.
93 static const VersionRangeDefinition kQuicktimeVersionRange[] = { 97 static const VersionRangeDefinition kQuicktimeVersionRange[] = {
94 { "", "", "7.6.9", true } 98 { "", "", "7.6.9", true }
95 }; 99 };
96 static const VersionRangeDefinition kJavaVersionRange[] = { 100 static const VersionRangeDefinition kJavaVersionRange[] = {
97 { "0", "7", "6.0.290", true }, // "290" is not a typo. 101 { "0", "7", "6.0.290", true }, // "290" is not a typo.
98 { "7", "", "10.1", true } // JDK7u1 identifies itself as 10.1 102 { "7", "", "10.1", true } // JDK7u1 identifies itself as 10.1
99 }; 103 };
100 // This is up to date with 104 // This is up to date with
101 // http://www.adobe.com/support/security/bulletins/apsb11-08.html 105 // http://www.adobe.com/support/security/bulletins/apsb11-24.html
102 static const VersionRangeDefinition kAdobeReaderVersionRange[] = { 106 static const VersionRangeDefinition kAdobeReaderVersionRange[] = {
103 { "10", "11", "10.0.1", false }, 107 { "10", "11", "10.1.1", false },
104 { "9", "10", "9.4.4", false }, 108 { "9", "10", "9.4.6", false },
105 { "0", "9", "8.2.6", false } 109 { "0", "9", "8.3.1", false }
106 }; 110 };
107 static const VersionRangeDefinition kDivXVersionRange[] = { 111 static const VersionRangeDefinition kDivXVersionRange[] = {
108 { "", "", "1.4.3.4", false } 112 { "", "", "1.4.3.4", false }
109 }; 113 };
110 static const VersionRangeDefinition kRealPlayerVersionRange[] = { 114 static const VersionRangeDefinition kRealPlayerVersionRange[] = {
111 { "", "", "12.0.1.666", true } 115 { "", "", "12.0.1.666", true }
112 }; 116 };
113 static const VersionRangeDefinition kWindowsMediaPlayerVersionRange[] = { 117 static const VersionRangeDefinition kWindowsMediaPlayerVersionRange[] = {
114 { "", "", "", true } 118 { "", "", "", true }
115 }; 119 };
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 } 723 }
720 return false; 724 return false;
721 } 725 }
722 726
723 PluginList::~PluginList() { 727 PluginList::~PluginList() {
724 } 728 }
725 729
726 730
727 } // namespace npapi 731 } // namespace npapi
728 } // namespace webkit 732 } // namespace webkit
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698