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

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

Issue 1640123005: Revert of Have each SandboxedProcessLauncherDelegate maintain a zygote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/ppapi_plugin_process_host.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 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <queue> 10 #include <queue>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // channel is ready or if there's an error. 109 // channel is ready or if there's an error.
110 void OpenChannelToPlugin(Client* client); 110 void OpenChannelToPlugin(Client* client);
111 111
112 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); } 112 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); }
113 const BrowserChildProcessHostImpl* process() { return process_.get(); } 113 const BrowserChildProcessHostImpl* process() { return process_.get(); }
114 const base::FilePath& plugin_path() const { return plugin_path_; } 114 const base::FilePath& plugin_path() const { return plugin_path_; }
115 const base::FilePath& profile_data_directory() const { 115 const base::FilePath& profile_data_directory() const {
116 return profile_data_directory_; 116 return profile_data_directory_;
117 } 117 }
118 118
119 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
120 // Launch the zygote early in the browser startup.
121 static void EarlyZygoteLaunch();
122 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
123
124 // The client pointer must remain valid until its callback is issued. 119 // The client pointer must remain valid until its callback is issued.
125 120
126 private: 121 private:
127 class PluginNetworkObserver; 122 class PluginNetworkObserver;
128 123
129 // Constructors for plugin and broker process hosts, respectively. 124 // Constructors for plugin and broker process hosts, respectively.
130 // You must call Init before doing anything else. 125 // You must call Init before doing anything else.
131 PpapiPluginProcessHost(const PepperPluginInfo& info, 126 PpapiPluginProcessHost(const PepperPluginInfo& info,
132 const base::FilePath& profile_data_directory); 127 const base::FilePath& profile_data_directory);
133 PpapiPluginProcessHost(); 128 PpapiPluginProcessHost();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 public: 190 public:
196 PpapiBrokerProcessHostIterator() 191 PpapiBrokerProcessHostIterator()
197 : BrowserChildProcessHostTypeIterator< 192 : BrowserChildProcessHostTypeIterator<
198 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {} 193 PpapiPluginProcessHost>(PROCESS_TYPE_PPAPI_BROKER) {}
199 }; 194 };
200 195
201 } // namespace content 196 } // namespace content
202 197
203 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ 198 #endif // CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_
204 199
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698