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

Unified Diff: ipc/ipc_channel_nacl.h

Issue 10167024: Add ipc_channel_nacl to the untrusted build and fix all compile/link errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ipc/ipc_channel_nacl.h
===================================================================
--- ipc/ipc_channel_nacl.h (revision 132566)
+++ ipc/ipc_channel_nacl.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "ipc/ipc_channel.h"
+#include "ipc/ipc_channel_reader.h"
namespace IPC {
@@ -25,7 +26,7 @@
bool Connect();
void Close();
bool Send(Message* message);
- int GetClientFileDescriptor() const;
dmichael (off chromium) 2012/04/23 14:51:11 Why non-const? I'd rather leave it as-is if possib
bbudge 2012/04/23 17:46:09 Good catch, I removed it erroneously while chasing
+ int GetClientFileDescriptor();
int TakeClientFileDescriptor();
bool AcceptsConnections() const;
bool HasAcceptedConnection() const;
@@ -33,6 +34,13 @@
void ResetToAcceptingConnectionState();
static bool IsNamedServerInitialized(const std::string& channel_id);
+ virtual ReadState ReadData(char* buffer,
+ int buffer_len,
+ int* bytes_read) OVERRIDE;
+ virtual bool WillDispatchInputMessage(Message* msg) OVERRIDE;
+ virtual bool DidEmptyInputBuffers() OVERRIDE;
+ virtual void HandleHelloMessage(const Message& msg) OVERRIDE;
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelImpl);
};
« ipc/ipc_channel.cc ('K') | « ipc/ipc_channel.cc ('k') | ipc/ipc_channel_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698