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

Side by Side Diff: ipc/ipc_channel_win.h

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 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/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel_unittest.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 (c) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef IPC_IPC_CHANNEL_WIN_H_ 5 #ifndef IPC_IPC_CHANNEL_WIN_H_
6 #define IPC_IPC_CHANNEL_WIN_H_ 6 #define IPC_IPC_CHANNEL_WIN_H_
7 7
8 #include "ipc/ipc_channel.h" 8 #include "ipc/ipc_channel.h"
9 9
10 #include <queue> 10 #include <queue>
11 #include <string> 11 #include <string>
12 12
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/scoped_ptr.h"
14 15
15 class NonThreadSafe; 16 class NonThreadSafe;
16 17
17 namespace IPC { 18 namespace IPC {
18 19
19 class Channel::ChannelImpl : public MessageLoopForIO::IOHandler { 20 class Channel::ChannelImpl : public MessageLoopForIO::IOHandler {
20 public: 21 public:
21 // Mirror methods of Channel, see ipc_channel.h for description. 22 // Mirror methods of Channel, see ipc_channel.h for description.
22 ChannelImpl(const std::string& channel_id, Mode mode, Listener* listener); 23 ChannelImpl(const std::string& channel_id, Mode mode, Listener* listener);
23 ~ChannelImpl() { Close(); } 24 ~ChannelImpl() { Close(); }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ScopedRunnableMethodFactory<ChannelImpl> factory_; 77 ScopedRunnableMethodFactory<ChannelImpl> factory_;
77 78
78 scoped_ptr<NonThreadSafe> thread_check_; 79 scoped_ptr<NonThreadSafe> thread_check_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(ChannelImpl); 81 DISALLOW_COPY_AND_ASSIGN(ChannelImpl);
81 }; 82 };
82 83
83 } // namespace IPC 84 } // namespace IPC
84 85
85 #endif // IPC_IPC_CHANNEL_WIN_H_ 86 #endif // IPC_IPC_CHANNEL_WIN_H_
OLDNEW
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698