OLD | NEW |
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 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ |
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ | 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 SECURITY_STATUS_REQUIRES_AUTHORIZATION, | 26 SECURITY_STATUS_REQUIRES_AUTHORIZATION, |
27 SECURITY_STATUS_FULLY_TRUSTED, | 27 SECURITY_STATUS_FULLY_TRUSTED, |
28 }; | 28 }; |
29 | 29 |
30 // Used by about:plugins to disable Reader plugin when internal PDF viewer is | 30 // Used by about:plugins to disable Reader plugin when internal PDF viewer is |
31 // enabled. | 31 // enabled. |
32 static const char kAdobeReaderGroupName[]; | 32 static const char kAdobeReaderGroupName[]; |
33 static const char kJavaGroupName[]; | 33 static const char kJavaGroupName[]; |
34 static const char kQuickTimeGroupName[]; | 34 static const char kQuickTimeGroupName[]; |
35 static const char kShockwaveGroupName[]; | 35 static const char kShockwaveGroupName[]; |
| 36 static const char kAdobeFlashPlayerGroupName[]; |
36 static const char kRealPlayerGroupName[]; | 37 static const char kRealPlayerGroupName[]; |
37 static const char kSilverlightGroupName[]; | 38 static const char kSilverlightGroupName[]; |
38 static const char kWindowsMediaPlayerGroupName[]; | 39 static const char kWindowsMediaPlayerGroupName[]; |
39 static const char kGoogleTalkGroupName[]; | 40 static const char kGoogleTalkGroupName[]; |
40 static const char kGoogleEarthGroupName[]; | 41 static const char kGoogleEarthGroupName[]; |
41 | 42 |
42 PluginMetadata(const std::string& identifier, | 43 PluginMetadata(const std::string& identifier, |
43 const base::string16& name, | 44 const base::string16& name, |
44 bool url_for_display, | 45 bool url_for_display, |
45 const GURL& plugin_url, | 46 const GURL& plugin_url, |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 GURL help_url_; | 103 GURL help_url_; |
103 std::string language_; | 104 std::string language_; |
104 std::map<base::Version, SecurityStatus, VersionComparator> versions_; | 105 std::map<base::Version, SecurityStatus, VersionComparator> versions_; |
105 std::vector<std::string> all_mime_types_; | 106 std::vector<std::string> all_mime_types_; |
106 std::vector<std::string> matching_mime_types_; | 107 std::vector<std::string> matching_mime_types_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(PluginMetadata); | 109 DISALLOW_COPY_AND_ASSIGN(PluginMetadata); |
109 }; | 110 }; |
110 | 111 |
111 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ | 112 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ |
OLD | NEW |