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

Side by Side Diff: ipc/ipc_channel_proxy.h

Issue 1322253003: ipc: Convert int types from basictypes.h to the ones from stdint.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 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/ipc_channel_posix_unittest.cc ('k') | ipc/ipc_channel_proxy.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PROXY_H_ 5 #ifndef IPC_IPC_CHANNEL_PROXY_H_
6 #define IPC_IPC_CHANNEL_PROXY_H_ 6 #define IPC_IPC_CHANNEL_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 // Indicates if the underlying channel's Send is thread-safe. 189 // Indicates if the underlying channel's Send is thread-safe.
190 bool IsChannelSendThreadSafe() const; 190 bool IsChannelSendThreadSafe() const;
191 191
192 protected: 192 protected:
193 friend class base::RefCountedThreadSafe<Context>; 193 friend class base::RefCountedThreadSafe<Context>;
194 ~Context() override; 194 ~Context() override;
195 195
196 // IPC::Listener methods: 196 // IPC::Listener methods:
197 bool OnMessageReceived(const Message& message) override; 197 bool OnMessageReceived(const Message& message) override;
198 void OnChannelConnected(int32 peer_pid) override; 198 void OnChannelConnected(int32_t peer_pid) override;
199 void OnChannelError() override; 199 void OnChannelError() override;
200 200
201 // Like OnMessageReceived but doesn't try the filters. 201 // Like OnMessageReceived but doesn't try the filters.
202 bool OnMessageReceivedNoFilter(const Message& message); 202 bool OnMessageReceivedNoFilter(const Message& message);
203 203
204 // Gives the filters a chance at processing |message|. 204 // Gives the filters a chance at processing |message|.
205 // Returns true if the message was processed, false otherwise. 205 // Returns true if the message was processed, false otherwise.
206 bool TryFilters(const Message& message); 206 bool TryFilters(const Message& message);
207 207
208 // Like Open and Close, but called on the IPC thread. 208 // Like Open and Close, but called on the IPC thread.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 bool did_init_; 306 bool did_init_;
307 307
308 #if defined(ENABLE_IPC_FUZZER) 308 #if defined(ENABLE_IPC_FUZZER)
309 OutgoingMessageFilter* outgoing_message_filter_; 309 OutgoingMessageFilter* outgoing_message_filter_;
310 #endif 310 #endif
311 }; 311 };
312 312
313 } // namespace IPC 313 } // namespace IPC
314 314
315 #endif // IPC_IPC_CHANNEL_PROXY_H_ 315 #endif // IPC_IPC_CHANNEL_PROXY_H_
OLDNEW
« no previous file with comments | « ipc/ipc_channel_posix_unittest.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698