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

Side by Side Diff: ipc/ipc_channel_proxy.cc

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/ref_counted.h" 6 #include "base/ref_counted.h"
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "ipc/ipc_channel_proxy.h" 9 #include "ipc/ipc_channel_proxy.h"
10 #include "ipc/ipc_logging.h" 10 #include "ipc/ipc_logging.h"
(...skipping 18 matching lines...) Expand all
29 29
30 private: 30 private:
31 scoped_refptr<ChannelProxy::Context> context_; 31 scoped_refptr<ChannelProxy::Context> context_;
32 scoped_ptr<Message> message_; 32 scoped_ptr<Message> message_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(SendTask); 34 DISALLOW_COPY_AND_ASSIGN(SendTask);
35 }; 35 };
36 36
37 //------------------------------------------------------------------------------ 37 //------------------------------------------------------------------------------
38 38
39 ChannelProxy::MessageFilter::MessageFilter() {}
40
39 ChannelProxy::MessageFilter::~MessageFilter() {} 41 ChannelProxy::MessageFilter::~MessageFilter() {}
40 42
41 void ChannelProxy::MessageFilter::OnFilterAdded(Channel* channel) {} 43 void ChannelProxy::MessageFilter::OnFilterAdded(Channel* channel) {}
42 44
43 void ChannelProxy::MessageFilter::OnFilterRemoved() {} 45 void ChannelProxy::MessageFilter::OnFilterRemoved() {}
44 46
45 void ChannelProxy::MessageFilter::OnChannelConnected(int32 peer_pid) {} 47 void ChannelProxy::MessageFilter::OnChannelConnected(int32 peer_pid) {}
46 48
47 void ChannelProxy::MessageFilter::OnChannelError() {} 49 void ChannelProxy::MessageFilter::OnChannelError() {}
48 50
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 int ChannelProxy::GetClientFileDescriptor() const { 340 int ChannelProxy::GetClientFileDescriptor() const {
339 Channel *channel = context_.get()->channel_; 341 Channel *channel = context_.get()->channel_;
340 DCHECK(channel); // Channel must have been created first. 342 DCHECK(channel); // Channel must have been created first.
341 return channel->GetClientFileDescriptor(); 343 return channel->GetClientFileDescriptor();
342 } 344 }
343 #endif 345 #endif
344 346
345 //----------------------------------------------------------------------------- 347 //-----------------------------------------------------------------------------
346 348
347 } // namespace IPC 349 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698