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

Unified Diff: ppapi/proxy/serialized_handle.cc

Issue 150713003: Create IPC channel to communicate with the renderer in NaClListener::OnStart(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/serialized_handle.h ('k') | ppapi/shared_impl/ppapi_nacl_channel_args.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_handle.cc
diff --git a/ppapi/proxy/serialized_handle.cc b/ppapi/proxy/serialized_handle.cc
index fb3404e74646b352d0431d4d265a43ae8f213558..a59b27d7493bace48d17d3bb11c4d2902b4c1c0c 100644
--- a/ppapi/proxy/serialized_handle.cc
+++ b/ppapi/proxy/serialized_handle.cc
@@ -61,7 +61,6 @@ bool SerializedHandle::IsHandleValid() const {
case SHARED_MEMORY:
return base::SharedMemory::IsHandleValid(shm_handle_);
case SOCKET:
- case CHANNEL_HANDLE:
case FILE:
return !(IPC::InvalidPlatformFileForTransit() == descriptor_);
case INVALID:
@@ -81,7 +80,6 @@ void SerializedHandle::Close() {
base::SharedMemory::CloseHandle(shm_handle_);
break;
case SOCKET:
- case CHANNEL_HANDLE:
case FILE:
base::PlatformFile file =
IPC::PlatformFileForTransitToPlatformFile(descriptor_);
@@ -138,7 +136,6 @@ bool SerializedHandle::ReadHeader(PickleIterator* iter, Header* hdr) {
valid_type = true;
}
case SOCKET:
- case CHANNEL_HANDLE:
case INVALID:
valid_type = true;
break;
« no previous file with comments | « ppapi/proxy/serialized_handle.h ('k') | ppapi/shared_impl/ppapi_nacl_channel_args.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698