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

Side by Side Diff: webkit/plugins/npapi/plugin_group.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years 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 | « webkit/plugins/npapi/plugin_constants_win.h ('k') | webkit/plugins/npapi/plugin_host.h » ('j') | 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 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_ 6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "webkit/plugins/webkit_plugins_export.h"
15 #include "webkit/plugins/webplugininfo.h" 16 #include "webkit/plugins/webplugininfo.h"
16 17
17 class FilePath; 18 class FilePath;
18 class PluginExceptionsTableModelTest; 19 class PluginExceptionsTableModelTest;
19 class Version; 20 class Version;
20 21
21 namespace webkit { 22 namespace webkit {
22 namespace npapi { 23 namespace npapi {
23 24
24 class PluginList; 25 class PluginList;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void InitFrom(const VersionRange& other); 66 void InitFrom(const VersionRange& other);
66 }; 67 };
67 68
68 // A PluginGroup can match a range of versions of a specific plugin (as defined 69 // A PluginGroup can match a range of versions of a specific plugin (as defined
69 // by matching a substring of its name). 70 // by matching a substring of its name).
70 // It contains all WebPluginInfo structs (at least one) matching its definition. 71 // It contains all WebPluginInfo structs (at least one) matching its definition.
71 // In addition, it knows about a security "baseline", i.e. the minimum version 72 // In addition, it knows about a security "baseline", i.e. the minimum version
72 // of a plugin that is needed in order not to exhibit known security 73 // of a plugin that is needed in order not to exhibit known security
73 // vulnerabilities. 74 // vulnerabilities.
74 75
75 class PluginGroup { 76 class WEBKIT_PLUGINS_EXPORT PluginGroup {
76 public: 77 public:
77 // Used by about:plugins to disable Reader plugin when internal PDF viewer is 78 // Used by about:plugins to disable Reader plugin when internal PDF viewer is
78 // enabled. 79 // enabled.
79 static const char kAdobeReaderGroupName[]; 80 static const char kAdobeReaderGroupName[];
80 static const char kAdobeReaderUpdateURL[]; 81 static const char kAdobeReaderUpdateURL[];
81 static const char kJavaGroupName[]; 82 static const char kJavaGroupName[];
82 static const char kQuickTimeGroupName[]; 83 static const char kQuickTimeGroupName[];
83 static const char kShockwaveGroupName[]; 84 static const char kShockwaveGroupName[];
84 static const char kRealPlayerGroupName[]; 85 static const char kRealPlayerGroupName[];
85 static const char kSilverlightGroupName[]; 86 static const char kSilverlightGroupName[];
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 string16 name_matcher_; 192 string16 name_matcher_;
192 std::string update_url_; 193 std::string update_url_;
193 std::vector<VersionRange> version_ranges_; 194 std::vector<VersionRange> version_ranges_;
194 std::vector<webkit::WebPluginInfo> web_plugin_infos_; 195 std::vector<webkit::WebPluginInfo> web_plugin_infos_;
195 }; 196 };
196 197
197 } // namespace npapi 198 } // namespace npapi
198 } // namespace webkit 199 } // namespace webkit
199 200
200 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_ 201 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_GROUP_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_constants_win.h ('k') | webkit/plugins/npapi/plugin_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698