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

Side by Side Diff: content/browser/plugin_service_impl.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/browser/plugin_loader_posix_unittest.cc ('k') | content/browser/plugin_service_impl.cc » ('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 // This class responds to requests from renderers for the list of plugins, and 5 // This class responds to requests from renderers for the list of plugins, and
6 // also a proxy object for plugin instances. 6 // also a proxy object for plugin instances.
7 7
8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ 8 #ifndef CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ 9 #define CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 ResourceContext* context, 84 ResourceContext* context,
85 const GURL& url, 85 const GURL& url,
86 const GURL& page_url, 86 const GURL& page_url,
87 const std::string& mime_type, 87 const std::string& mime_type,
88 bool allow_wildcard, 88 bool allow_wildcard,
89 bool* is_stale, 89 bool* is_stale,
90 WebPluginInfo* info, 90 WebPluginInfo* info,
91 std::string* actual_mime_type) OVERRIDE; 91 std::string* actual_mime_type) OVERRIDE;
92 virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path, 92 virtual bool GetPluginInfoByPath(const base::FilePath& plugin_path,
93 WebPluginInfo* info) OVERRIDE; 93 WebPluginInfo* info) OVERRIDE;
94 virtual string16 GetPluginDisplayNameByPath( 94 virtual base::string16 GetPluginDisplayNameByPath(
95 const base::FilePath& path) OVERRIDE; 95 const base::FilePath& path) OVERRIDE;
96 virtual void GetPlugins(const GetPluginsCallback& callback) OVERRIDE; 96 virtual void GetPlugins(const GetPluginsCallback& callback) OVERRIDE;
97 virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo( 97 virtual PepperPluginInfo* GetRegisteredPpapiPluginInfo(
98 const base::FilePath& plugin_path) OVERRIDE; 98 const base::FilePath& plugin_path) OVERRIDE;
99 virtual void SetFilter(PluginServiceFilter* filter) OVERRIDE; 99 virtual void SetFilter(PluginServiceFilter* filter) OVERRIDE;
100 virtual PluginServiceFilter* GetFilter() OVERRIDE; 100 virtual PluginServiceFilter* GetFilter() OVERRIDE;
101 virtual void ForcePluginShutdown(const base::FilePath& plugin_path) OVERRIDE; 101 virtual void ForcePluginShutdown(const base::FilePath& plugin_path) OVERRIDE;
102 virtual bool IsPluginUnstable(const base::FilePath& plugin_path) OVERRIDE; 102 virtual bool IsPluginUnstable(const base::FilePath& plugin_path) OVERRIDE;
103 virtual void RefreshPlugins() OVERRIDE; 103 virtual void RefreshPlugins() OVERRIDE;
104 virtual void AddExtraPluginPath(const base::FilePath& path) OVERRIDE; 104 virtual void AddExtraPluginPath(const base::FilePath& path) OVERRIDE;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 244
245 // Used to detect if a given plug-in is crashing over and over. 245 // Used to detect if a given plug-in is crashing over and over.
246 std::map<base::FilePath, std::vector<base::Time> > crash_times_; 246 std::map<base::FilePath, std::vector<base::Time> > crash_times_;
247 247
248 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); 248 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl);
249 }; 249 };
250 250
251 } // namespace content 251 } // namespace content
252 252
253 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ 253 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_loader_posix_unittest.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698