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

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

Issue 2473993003: Delete IPC::ChannelPosix, IPC::ChannelWin and IPC::AttachmentBroker. (Closed)
Patch Set: Created 4 years, 1 month 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 (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 #include "components/nacl/browser/nacl_process_host.h" 5 #include "components/nacl/browser/nacl_process_host.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 #include <algorithm> 8 #include <algorithm>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h" 63 #include "ppapi/shared_impl/ppapi_nacl_plugin_args.h"
64 64
65 #if defined(OS_POSIX) 65 #if defined(OS_POSIX)
66 66
67 #include <arpa/inet.h> 67 #include <arpa/inet.h>
68 #include <fcntl.h> 68 #include <fcntl.h>
69 #include <netinet/in.h> 69 #include <netinet/in.h>
70 #include <sys/socket.h> 70 #include <sys/socket.h>
71 71
72 #include "content/public/browser/zygote_handle_linux.h" 72 #include "content/public/browser/zygote_handle_linux.h"
73 #include "ipc/ipc_channel_posix.h"
74 #elif defined(OS_WIN) 73 #elif defined(OS_WIN)
75 #include <windows.h> 74 #include <windows.h>
76 #include <winsock2.h> 75 #include <winsock2.h>
77 76
78 #include "base/threading/thread.h" 77 #include "base/threading/thread.h"
79 #include "base/win/scoped_handle.h" 78 #include "base/win/scoped_handle.h"
80 #include "components/nacl/browser/nacl_broker_service_win.h" 79 #include "components/nacl/browser/nacl_broker_service_win.h"
81 #include "components/nacl/common/nacl_debug_exception_handler_win.h" 80 #include "components/nacl/common/nacl_debug_exception_handler_win.h"
82 #include "content/public/common/sandbox_init.h" 81 #include "content/public/common/sandbox_init.h"
83 #endif 82 #endif
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 NaClStartDebugExceptionHandlerThread( 1186 NaClStartDebugExceptionHandlerThread(
1188 std::move(process), info, base::ThreadTaskRunnerHandle::Get(), 1187 std::move(process), info, base::ThreadTaskRunnerHandle::Get(),
1189 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, 1188 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker,
1190 weak_factory_.GetWeakPtr())); 1189 weak_factory_.GetWeakPtr()));
1191 return true; 1190 return true;
1192 } 1191 }
1193 } 1192 }
1194 #endif 1193 #endif
1195 1194
1196 } // namespace nacl 1195 } // namespace nacl
OLDNEW
« no previous file with comments | « chrome/utility/importer/firefox_importer_unittest_utils_mac.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698