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

Side by Side Diff: components/nacl/renderer/manifest_service_channel.cc

Issue 1862333002: ipc: Rename TakeFileHandleForProcess->TakePlatformFileForTransit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors. Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "components/nacl/renderer/manifest_service_channel.h" 5 #include "components/nacl/renderer/manifest_service_channel.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/public/common/sandbox_init.h" 13 #include "content/public/common/sandbox_init.h"
14 #include "content/public/renderer/render_thread.h" 14 #include "content/public/renderer/render_thread.h"
15 #include "ipc/ipc_channel.h" 15 #include "ipc/ipc_channel.h"
16 #include "ipc/ipc_platform_file.h"
16 #include "ipc/ipc_sync_channel.h" 17 #include "ipc/ipc_sync_channel.h"
17 #include "ppapi/c/pp_errors.h" 18 #include "ppapi/c/pp_errors.h"
18 #include "ppapi/c/ppb_file_io.h" 19 #include "ppapi/c/ppb_file_io.h"
19 #include "ppapi/proxy/ppapi_messages.h" 20 #include "ppapi/proxy/ppapi_messages.h"
20 21
21 namespace nacl { 22 namespace nacl {
22 23
23 ManifestServiceChannel::ManifestServiceChannel( 24 ManifestServiceChannel::ManifestServiceChannel(
24 const IPC::ChannelHandle& handle, 25 const IPC::ChannelHandle& handle,
25 const base::Callback<void(int32_t)>& connected_callback, 26 const base::Callback<void(int32_t)>& connected_callback,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 #endif 105 #endif
105 } 106 }
106 PpapiHostMsg_OpenResource::WriteReplyParams(reply, 107 PpapiHostMsg_OpenResource::WriteReplyParams(reply,
107 handle, 108 handle,
108 token_lo, 109 token_lo,
109 token_hi); 110 token_hi);
110 Send(reply); 111 Send(reply);
111 } 112 }
112 113
113 } // namespace nacl 114 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | content/browser/renderer_host/database_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698