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

Side by Side Diff: ipc/ipc_test_sink.h

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_test_base.h ('k') | ipc/ipc_test_sink.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) 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 #ifndef IPC_IPC_TEST_SINK_H_ 5 #ifndef IPC_IPC_TEST_SINK_H_
6 #define IPC_IPC_TEST_SINK_H_ 6 #define IPC_IPC_TEST_SINK_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <utility> 11 #include <utility>
11 #include <vector> 12 #include <vector>
12 13
13 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
14 #include "base/macros.h" 15 #include "base/macros.h"
15 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "build/build_config.h"
16 #include "ipc/ipc_channel.h" 18 #include "ipc/ipc_channel.h"
17 19
18 namespace IPC { 20 namespace IPC {
19 21
20 class Message; 22 class Message;
21 23
22 // This test sink provides a "sink" for IPC messages that are sent. It allows 24 // This test sink provides a "sink" for IPC messages that are sent. It allows
23 // the caller to query messages received in various different ways. It is 25 // the caller to query messages received in various different ways. It is
24 // designed for tests for objects that use the IPC system. 26 // designed for tests for objects that use the IPC system.
25 // 27 //
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // The actual list of received messages. 134 // The actual list of received messages.
133 std::vector<Message> messages_; 135 std::vector<Message> messages_;
134 base::ObserverList<Listener> filter_list_; 136 base::ObserverList<Listener> filter_list_;
135 137
136 DISALLOW_COPY_AND_ASSIGN(TestSink); 138 DISALLOW_COPY_AND_ASSIGN(TestSink);
137 }; 139 };
138 140
139 } // namespace IPC 141 } // namespace IPC
140 142
141 #endif // IPC_IPC_TEST_SINK_H_ 143 #endif // IPC_IPC_TEST_SINK_H_
OLDNEW
« no previous file with comments | « ipc/ipc_test_base.h ('k') | ipc/ipc_test_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698