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

Side by Side Diff: ipc/ipc_message.h

Issue 11574040: Get rid of ipc_sender.h include in ipc_message.h. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: asdf Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « ipc/ipc_logging.cc ('k') | no next file » | 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_MESSAGE_H_ 5 #ifndef IPC_IPC_MESSAGE_H_
6 #define IPC_IPC_MESSAGE_H_ 6 #define IPC_IPC_MESSAGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "ipc/ipc_export.h" 13 #include "ipc/ipc_export.h"
14 14
15 // TODO(brettw) remove this and update files that depend on this being included
16 // from here.
17 #include "ipc/ipc_sender.h"
18
19 #if !defined(NDEBUG) 15 #if !defined(NDEBUG)
20 #define IPC_MESSAGE_LOG_ENABLED 16 #define IPC_MESSAGE_LOG_ENABLED
21 #endif 17 #endif
22 18
23 #if defined(OS_POSIX) 19 #if defined(OS_POSIX)
24 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
25 #endif 21 #endif
26 22
27 namespace base { 23 namespace base {
28 struct FileDescriptor; 24 struct FileDescriptor;
29 } 25 }
30 26
31 class FileDescriptorSet; 27 class FileDescriptorSet;
32 28
33 namespace IPC { 29 namespace IPC {
34 30
35 //------------------------------------------------------------------------------ 31 //------------------------------------------------------------------------------
36 32
37 class Channel;
38 class Message;
39 struct LogData; 33 struct LogData;
40 34
41 class IPC_EXPORT Message : public Pickle { 35 class IPC_EXPORT Message : public Pickle {
42 public: 36 public:
43 enum PriorityValue { 37 enum PriorityValue {
44 PRIORITY_LOW = 1, 38 PRIORITY_LOW = 1,
45 PRIORITY_NORMAL, 39 PRIORITY_NORMAL,
46 PRIORITY_HIGH 40 PRIORITY_HIGH
47 }; 41 };
48 42
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 MSG_ROUTING_NONE = -2, 284 MSG_ROUTING_NONE = -2,
291 285
292 // indicates a general message not sent to a particular tab. 286 // indicates a general message not sent to a particular tab.
293 MSG_ROUTING_CONTROL = kint32max, 287 MSG_ROUTING_CONTROL = kint32max,
294 }; 288 };
295 289
296 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies 290 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies
297 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging 291 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging
298 292
299 #endif // IPC_IPC_MESSAGE_H_ 293 #endif // IPC_IPC_MESSAGE_H_
OLDNEW
« no previous file with comments | « ipc/ipc_logging.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698