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

Side by Side Diff: ipc/message_filter.cc

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « ipc/message_filter.h ('k') | media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/message_filter.h" 5 #include "ipc/message_filter.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "ipc/ipc_channel.h" 10 #include "ipc/ipc_channel.h"
11 11
12 namespace IPC { 12 namespace IPC {
13 13
14 MessageFilter::MessageFilter() {} 14 MessageFilter::MessageFilter() {}
15 15
16 void MessageFilter::OnFilterAdded(Sender* sender) {} 16 void MessageFilter::OnFilterAdded(Channel* channel) {}
17 17
18 void MessageFilter::OnFilterRemoved() {} 18 void MessageFilter::OnFilterRemoved() {}
19 19
20 void MessageFilter::OnChannelConnected(int32_t peer_pid) {} 20 void MessageFilter::OnChannelConnected(int32_t peer_pid) {}
21 21
22 void MessageFilter::OnChannelError() {} 22 void MessageFilter::OnChannelError() {}
23 23
24 void MessageFilter::OnChannelClosing() {} 24 void MessageFilter::OnChannelClosing() {}
25 25
26 bool MessageFilter::OnMessageReceived(const Message& message) { 26 bool MessageFilter::OnMessageReceived(const Message& message) {
27 return false; 27 return false;
28 } 28 }
29 29
30 bool MessageFilter::GetSupportedMessageClasses( 30 bool MessageFilter::GetSupportedMessageClasses(
31 std::vector<uint32_t>* /*supported_message_classes*/) const { 31 std::vector<uint32_t>* /*supported_message_classes*/) const {
32 return false; 32 return false;
33 } 33 }
34 34
35 MessageFilter::~MessageFilter() {} 35 MessageFilter::~MessageFilter() {}
36 36
37 } // namespace IPC 37 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/message_filter.h ('k') | media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698