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

Side by Side Diff: content/public/browser/plugin_service.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « content/public/browser/navigation_entry.h ('k') | content/public/browser/render_view_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) 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 CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Get plugin info by plugin path (including disabled plugins). Returns true 83 // Get plugin info by plugin path (including disabled plugins). Returns true
84 // if the plugin is found and WebPluginInfo has been filled in |info|. This 84 // if the plugin is found and WebPluginInfo has been filled in |info|. This
85 // will use cached data in the plugin list. 85 // will use cached data in the plugin list.
86 virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path, 86 virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path,
87 WebPluginInfo* info) = 0; 87 WebPluginInfo* info) = 0;
88 88
89 // Returns the display name for the plugin identified by the given path. If 89 // Returns the display name for the plugin identified by the given path. If
90 // the path doesn't identify a plugin, or the plugin has no display name, 90 // the path doesn't identify a plugin, or the plugin has no display name,
91 // this will attempt to generate a display name from the path. 91 // this will attempt to generate a display name from the path.
92 virtual string16 GetPluginDisplayNameByPath( 92 virtual base::string16 GetPluginDisplayNameByPath(
93 const base::FilePath& plugin_path) = 0; 93 const base::FilePath& plugin_path) = 0;
94 94
95 // Asynchronously loads plugins if necessary and then calls back to the 95 // Asynchronously loads plugins if necessary and then calls back to the
96 // provided function on the calling MessageLoop on completion. 96 // provided function on the calling MessageLoop on completion.
97 virtual void GetPlugins(const GetPluginsCallback& callback) = 0; 97 virtual void GetPlugins(const GetPluginsCallback& callback) = 0;
98 98
99 // Returns information about a pepper plugin if it exists, otherwise NULL. 99 // Returns information about a pepper plugin if it exists, otherwise NULL.
100 // The caller does not own the pointer, and it's not guaranteed to live past 100 // The caller does not own the pointer, and it's not guaranteed to live past
101 // the call stack. 101 // the call stack.
102 virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo( 102 virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo(
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 // This can be called from any thread. 157 // This can be called from any thread.
158 virtual bool GetPluginInfoFromWindow(HWND window, 158 virtual bool GetPluginInfoFromWindow(HWND window,
159 base::string16* plugin_name, 159 base::string16* plugin_name,
160 base::string16* plugin_version) = 0; 160 base::string16* plugin_version) = 0;
161 #endif 161 #endif
162 }; 162 };
163 163
164 } // namespace content 164 } // namespace content
165 165
166 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 166 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/public/browser/navigation_entry.h ('k') | content/public/browser/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698