Skip to content

Commit

Permalink
Revert 187233
Browse files Browse the repository at this point in the history
> Implement IPC::ChannelFactory, a class that accept()s on a UNIX socket.
> 
> IPC::ChannelFactory listens on a UNIX domain socket and notifies its delegate
> when a client connects. The delegate is expected to craft an IPC::Channel from
> the handle it is given.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186912
> 
> Review URL: https://chromiumcodereview.appspot.com/12386010

TBR=jeremya@chromium.org
Review URL: https://codereview.chromium.org/12761003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187240 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
dmikurube@chromium.org committed Mar 11, 2013
1 parent 9fe6465 commit 081ace9
Show file tree
Hide file tree
Showing 13 changed files with 185 additions and 636 deletions.
6 changes: 0 additions & 6 deletions ipc/ipc.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,13 @@
'ipc_test_base.cc',
'ipc_test_base.h',
'sync_socket_unittest.cc',
'unix_domain_socket_util_unittest.cc',
],
'conditions': [
['toolkit_uses_gtk == 1', {
'dependencies': [
'../build/linux/system.gyp:gtk',
],
}],
['OS == "win" or OS == "ios"', {
'sources!': [
'unix_domain_socket_util_unittest.cc',
],
}],
['OS == "android" and gtest_target_type == "shared_library"', {
'dependencies': [
'../testing/android/native_test.gyp:native_test_native_code',
Expand Down
14 changes: 1 addition & 13 deletions ipc/ipc.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
'sources': [
'file_descriptor_set_posix.cc',
'file_descriptor_set_posix.h',
'ipc_channel.cc',
'ipc_channel.h',
'ipc_channel_factory.cc',
'ipc_channel_factory.h',
'ipc_channel.cc',
'ipc_channel_handle.h',
'ipc_channel_nacl.cc',
'ipc_channel_nacl.h',
Expand Down Expand Up @@ -59,8 +57,6 @@
'param_traits_write_macros.h',
'struct_constructor_macros.h',
'struct_destructor_macros.h',
'unix_domain_socket_util.cc',
'unix_domain_socket_util.h',
],
'defines': [
'IPC_IMPLEMENTATION',
Expand All @@ -72,15 +68,7 @@
['>(nacl_untrusted_build)==1', {
'sources!': [
'ipc_channel.cc',
'ipc_channel_factory.cc',
'ipc_channel_posix.cc',
'unix_domain_socket_util.cc',
],
}],
['OS == "win" or OS == "ios"', {
'sources!': [
'ipc_channel_factory.cc',
'unix_domain_socket_util.cc',
],
}],
],
Expand Down
4 changes: 2 additions & 2 deletions ipc/ipc_channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ class IPC_EXPORT Channel : public Sender {
bool HasAcceptedConnection() const;

// Returns true if the peer process' effective user id can be determined, in
// which case the supplied peer_euid is updated with it.
bool GetPeerEuid(uid_t* peer_euid) const;
// which case the supplied client_euid is updated with it.
bool GetClientEuid(uid_t* client_euid) const;

// Closes any currently connected socket, and returns to a listening state
// for more connections.
Expand Down
88 changes: 0 additions & 88 deletions ipc/ipc_channel_factory.cc

This file was deleted.

57 changes: 0 additions & 57 deletions ipc/ipc_channel_factory.h

This file was deleted.

Loading

0 comments on commit 081ace9

Please sign in to comment.