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

Side by Side Diff: components/nacl/browser/nacl_process_host.h

Issue 98183012: Pepper: Split PpapiHostMsg_ChannelCreated use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | components/nacl/browser/nacl_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 COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 5 #ifndef COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 6 #define COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 const base::PlatformFile& file); 169 const base::PlatformFile& file);
170 170
171 #if defined(OS_WIN) 171 #if defined(OS_WIN)
172 // Message handler for Windows hardware exception handling. 172 // Message handler for Windows hardware exception handling.
173 void OnAttachDebugExceptionHandler(const std::string& info, 173 void OnAttachDebugExceptionHandler(const std::string& info,
174 IPC::Message* reply_msg); 174 IPC::Message* reply_msg);
175 bool AttachDebugExceptionHandler(const std::string& info, 175 bool AttachDebugExceptionHandler(const std::string& info,
176 IPC::Message* reply_msg); 176 IPC::Message* reply_msg);
177 #endif 177 #endif
178 178
179 // Called when a PPAPI IPC channel has been created. 179 // Called when the PPAPI IPC channel to the browser has been created.
180 void OnPpapiChannelCreated(const IPC::ChannelHandle& channel_handle); 180 void OnPpapiChannelCreated(const IPC::ChannelHandle& channel_handle);
181 // Called when the PPAPI IPC channel to the renderer has been created.
182 void OnPpapiNaClChannelCreated(const IPC::ChannelHandle& channel_handle);
bbudge 2014/01/03 16:52:14 In theory we may create more than one renderer cha
183
181 // Called by PluginListener, so messages from the untrusted side of 184 // Called by PluginListener, so messages from the untrusted side of
182 // the IPC proxy can be handled. 185 // the IPC proxy can be handled.
183 bool OnUntrustedMessageForwarded(const IPC::Message& msg); 186 bool OnUntrustedMessageForwarded(const IPC::Message& msg);
184 187
185 GURL manifest_url_; 188 GURL manifest_url_;
186 ppapi::PpapiPermissions permissions_; 189 ppapi::PpapiPermissions permissions_;
187 190
188 #if defined(OS_WIN) 191 #if defined(OS_WIN)
189 // This field becomes true when the broker successfully launched 192 // This field becomes true when the broker successfully launched
190 // the NaCl loader. 193 // the NaCl loader.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 scoped_ptr<content::BrowserPpapiHost> ppapi_host_; 236 scoped_ptr<content::BrowserPpapiHost> ppapi_host_;
234 237
235 int render_view_id_; 238 int render_view_id_;
236 239
237 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 240 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
238 }; 241 };
239 242
240 } // namespace nacl 243 } // namespace nacl
241 244
242 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_ 245 #endif // COMPONENTS_NACL_BROWSER_NACL_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | components/nacl/browser/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698