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

Unified Diff: ipc/ipc_test_sink.cc

Issue 2476883002: Remove obsolete methods from IPC::Channel and related classes. (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 side-by-side diff with in-line comments
Download patch
Index: ipc/ipc_test_sink.cc
diff --git a/ipc/ipc_test_sink.cc b/ipc/ipc_test_sink.cc
index 4dd4a447731eef7b50fcca43788e7a1dd6ae12af..305b0ea17da6ab26cd0fa797655819e9caf811dd 100644
--- a/ipc/ipc_test_sink.cc
+++ b/ipc/ipc_test_sink.cc
@@ -39,11 +39,6 @@ base::ProcessId TestSink::GetPeerPID() const {
return base::ProcessId();
}
-base::ProcessId TestSink::GetSelfPID() const {
- NOTIMPLEMENTED();
- return base::ProcessId();
-}
-
bool TestSink::OnMessageReceived(const Message& msg) {
for (auto& observer : filter_list_) {
if (observer.OnMessageReceived(msg))
@@ -95,18 +90,4 @@ void TestSink::RemoveFilter(Listener* filter) {
filter_list_.RemoveObserver(filter);
}
-#if defined(OS_POSIX) && !defined(OS_NACL)
-
-int TestSink::GetClientFileDescriptor() const {
- NOTREACHED();
- return -1;
-}
-
-base::ScopedFD TestSink::TakeClientFileDescriptor() {
- NOTREACHED();
- return base::ScopedFD();
-}
-
-#endif // defined(OS_POSIX) && !defined(OS_NACL)
-
} // namespace IPC
« ipc/ipc_channel.h ('K') | « ipc/ipc_test_sink.h ('k') | ppapi/proxy/proxy_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698