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

Side by Side Diff: webkit/glue/plugins/plugin_lib.h

Issue 17367: Fix layout test failures. Looks like keying the plugins based on OriginalFil... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 months 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_GLUE_PLUGIN_PLUGIN_LIB_H__ 5 #ifndef WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__
6 #define WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__ 6 #define WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 struct WebPluginInfo; 21 struct WebPluginInfo;
22 22
23 namespace NPAPI 23 namespace NPAPI
24 { 24 {
25 25
26 class PluginInstance; 26 class PluginInstance;
27 27
28 // This struct fully describes a plugin. For external plugins, it's read in from 28 // This struct fully describes a plugin. For external plugins, it's read in from
29 // the version info of the dll; For internal plugins, it's predefined. 29 // the version info of the dll; For internal plugins, it's predefined.
30 struct PluginVersionInfo { 30 struct PluginVersionInfo {
31 std::wstring filename; 31 FilePath path;
32 std::wstring path;
33 std::wstring product_name; 32 std::wstring product_name;
34 std::wstring file_description; 33 std::wstring file_description;
35 std::wstring file_version; 34 std::wstring file_version;
36 std::wstring mime_types; 35 std::wstring mime_types;
37 std::wstring file_extents; 36 std::wstring file_extents;
38 std::wstring file_open_names; 37 std::wstring file_open_names;
39 }; 38 };
40 39
41 // This struct contains information of an internal plugin and addresses of 40 // This struct contains information of an internal plugin and addresses of
42 // entry functions. 41 // entry functions.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 NP_InitializeFunc NP_Initialize_; 129 NP_InitializeFunc NP_Initialize_;
131 NP_GetEntryPointsFunc NP_GetEntryPoints_; 130 NP_GetEntryPointsFunc NP_GetEntryPoints_;
132 NP_ShutdownFunc NP_Shutdown_; 131 NP_ShutdownFunc NP_Shutdown_;
133 132
134 DISALLOW_EVIL_CONSTRUCTORS(PluginLib); 133 DISALLOW_EVIL_CONSTRUCTORS(PluginLib);
135 }; 134 };
136 135
137 } // namespace NPAPI 136 } // namespace NPAPI
138 137
139 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__ 138 #endif // WEBKIT_GLUE_PLUGIN_PLUGIN_LIB_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698