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

Side by Side Diff: content/browser/plugin_service_impl.h

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 3 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
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Returns the plugin process host corresponding to the plugin process that 125 // Returns the plugin process host corresponding to the plugin process that
126 // has been started by this service. This will start a process to host the 126 // has been started by this service. This will start a process to host the
127 // 'plugin_path' if needed. If the process fails to start, the return value 127 // 'plugin_path' if needed. If the process fails to start, the return value
128 // is NULL. Must be called on the IO thread. 128 // is NULL. Must be called on the IO thread.
129 PluginProcessHost* FindOrStartNpapiPluginProcess( 129 PluginProcessHost* FindOrStartNpapiPluginProcess(
130 int render_process_id, const base::FilePath& plugin_path); 130 int render_process_id, const base::FilePath& plugin_path);
131 PpapiPluginProcessHost* FindOrStartPpapiPluginProcess( 131 PpapiPluginProcessHost* FindOrStartPpapiPluginProcess(
132 int render_process_id, 132 int render_process_id,
133 const base::FilePath& plugin_path, 133 const base::FilePath& plugin_path,
134 const base::FilePath& profile_data_directory, 134 const base::FilePath& profile_data_directory);
135 PpapiPluginProcessHost::PluginClient* client);
136 PpapiPluginProcessHost* FindOrStartPpapiBrokerProcess( 135 PpapiPluginProcessHost* FindOrStartPpapiBrokerProcess(
137 int render_process_id, const base::FilePath& plugin_path); 136 int render_process_id, const base::FilePath& plugin_path);
138 137
139 // Opens a channel to a plugin process for the given mime type, starting 138 // Opens a channel to a plugin process for the given mime type, starting
140 // a new plugin process if necessary. This must be called on the IO thread 139 // a new plugin process if necessary. This must be called on the IO thread
141 // or else a deadlock can occur. 140 // or else a deadlock can occur.
142 void OpenChannelToNpapiPlugin(int render_process_id, 141 void OpenChannelToNpapiPlugin(int render_process_id,
143 int render_view_id, 142 int render_view_id,
144 const GURL& url, 143 const GURL& url,
145 const GURL& page_url, 144 const GURL& page_url,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 244
246 // 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.
247 std::map<base::FilePath, std::vector<base::Time> > crash_times_; 246 std::map<base::FilePath, std::vector<base::Time> > crash_times_;
248 247
249 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl); 248 DISALLOW_COPY_AND_ASSIGN(PluginServiceImpl);
250 }; 249 };
251 250
252 } // namespace content 251 } // namespace content
253 252
254 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_ 253 #endif // CONTENT_BROWSER_PLUGIN_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698