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 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 // Used by about:plugins to disable Reader plugin when internal PDF viewer is | 28 // Used by about:plugins to disable Reader plugin when internal PDF viewer is |
29 // enabled. | 29 // enabled. |
30 static const char kAdobeReaderGroupName[]; | 30 static const char kAdobeReaderGroupName[]; |
31 static const char kJavaGroupName[]; | 31 static const char kJavaGroupName[]; |
32 static const char kQuickTimeGroupName[]; | 32 static const char kQuickTimeGroupName[]; |
33 static const char kShockwaveGroupName[]; | 33 static const char kShockwaveGroupName[]; |
34 static const char kRealPlayerGroupName[]; | 34 static const char kRealPlayerGroupName[]; |
35 static const char kSilverlightGroupName[]; | 35 static const char kSilverlightGroupName[]; |
36 static const char kWindowsMediaPlayerGroupName[]; | 36 static const char kWindowsMediaPlayerGroupName[]; |
| 37 static const char kGoogleTalkGroupName[]; |
| 38 static const char kGoogleEarthGroupName[]; |
37 | 39 |
38 PluginMetadata(const std::string& identifier, | 40 PluginMetadata(const std::string& identifier, |
39 const base::string16& name, | 41 const base::string16& name, |
40 bool url_for_display, | 42 bool url_for_display, |
41 const GURL& plugin_url, | 43 const GURL& plugin_url, |
42 const GURL& help_url, | 44 const GURL& help_url, |
43 const base::string16& group_name_matcher, | 45 const base::string16& group_name_matcher, |
44 const std::string& language); | 46 const std::string& language); |
45 ~PluginMetadata(); | 47 ~PluginMetadata(); |
46 | 48 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 GURL help_url_; | 100 GURL help_url_; |
99 std::string language_; | 101 std::string language_; |
100 std::map<Version, SecurityStatus, VersionComparator> versions_; | 102 std::map<Version, SecurityStatus, VersionComparator> versions_; |
101 std::vector<std::string> all_mime_types_; | 103 std::vector<std::string> all_mime_types_; |
102 std::vector<std::string> matching_mime_types_; | 104 std::vector<std::string> matching_mime_types_; |
103 | 105 |
104 DISALLOW_COPY_AND_ASSIGN(PluginMetadata); | 106 DISALLOW_COPY_AND_ASSIGN(PluginMetadata); |
105 }; | 107 }; |
106 | 108 |
107 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ | 109 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ |
OLD | NEW |