| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 namespace IPC { | 24 namespace IPC { |
| 25 | 25 |
| 26 namespace internal { | 26 namespace internal { |
| 27 class ChannelReader; | 27 class ChannelReader; |
| 28 } // namespace internal | 28 } // namespace internal |
| 29 | 29 |
| 30 //------------------------------------------------------------------------------ | 30 //------------------------------------------------------------------------------ |
| 31 | 31 |
| 32 struct LogData; | 32 struct LogData; |
| 33 class MessageAttachment; | |
| 34 class MessageAttachmentSet; | 33 class MessageAttachmentSet; |
| 35 | 34 |
| 36 class IPC_EXPORT Message : public base::Pickle { | 35 class IPC_EXPORT Message : public base::Pickle { |
| 37 public: | 36 public: |
| 38 enum PriorityValue { | 37 enum PriorityValue { |
| 39 PRIORITY_LOW = 1, | 38 PRIORITY_LOW = 1, |
| 40 PRIORITY_NORMAL, | 39 PRIORITY_NORMAL, |
| 41 PRIORITY_HIGH | 40 PRIORITY_HIGH |
| 42 }; | 41 }; |
| 43 | 42 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 MSG_ROUTING_NONE = -2, | 296 MSG_ROUTING_NONE = -2, |
| 298 | 297 |
| 299 // indicates a general message not sent to a particular tab. | 298 // indicates a general message not sent to a particular tab. |
| 300 MSG_ROUTING_CONTROL = INT32_MAX, | 299 MSG_ROUTING_CONTROL = INT32_MAX, |
| 301 }; | 300 }; |
| 302 | 301 |
| 303 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies | 302 #define IPC_REPLY_ID 0xFFFFFFF0 // Special message id for replies |
| 304 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging | 303 #define IPC_LOGGING_ID 0xFFFFFFF1 // Special message id for logging |
| 305 | 304 |
| 306 #endif // IPC_IPC_MESSAGE_H_ | 305 #endif // IPC_IPC_MESSAGE_H_ |
| OLD | NEW |