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

Side by Side Diff: ipc/ipc_test_sink.cc

Issue 11308082: ipc: Remove ipc_listener.h from ipc_channel.h and update the files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_send_fds_test.cc ('k') | ppapi/proxy/resource_message_test_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "ipc/ipc_test_sink.h" 5 #include "ipc/ipc_test_sink.h"
6 6
7 #include "ipc/ipc_listener.h"
7 #include "ipc/ipc_message.h" 8 #include "ipc/ipc_message.h"
8 9
9 namespace IPC { 10 namespace IPC {
10 11
11 TestSink::TestSink() { 12 TestSink::TestSink() {
12 } 13 }
13 14
14 TestSink::~TestSink() { 15 TestSink::~TestSink() {
15 } 16 }
16 17
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 68
68 void TestSink::AddFilter(Listener* filter) { 69 void TestSink::AddFilter(Listener* filter) {
69 filter_list_.AddObserver(filter); 70 filter_list_.AddObserver(filter);
70 } 71 }
71 72
72 void TestSink::RemoveFilter(Listener* filter) { 73 void TestSink::RemoveFilter(Listener* filter) {
73 filter_list_.RemoveObserver(filter); 74 filter_list_.RemoveObserver(filter);
74 } 75 }
75 76
76 } // namespace IPC 77 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/ipc_send_fds_test.cc ('k') | ppapi/proxy/resource_message_test_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698