| Index: ipc/ipc_message.h
|
| diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
|
| index 22d1c99da98824de7883d59c97a1ec14ce5be47c..2c885c41a88b57ba83c90988c8d8a0175a92cb82 100644
|
| --- a/ipc/ipc_message.h
|
| +++ b/ipc/ipc_message.h
|
| @@ -145,6 +145,30 @@ class IPC_EXPORT Message : public base::Pickle {
|
| return header()->flags;
|
| }
|
|
|
| + bool ebs_enabled() const {
|
| + return header()->ebs_enabled;
|
| + }
|
| +
|
| + uint32_t qos_type() const {
|
| + return header()->qos_type;
|
| + }
|
| +
|
| + int qos_target() const {
|
| + return header()->qos_target;
|
| + }
|
| +
|
| + void set_ebs_enabled(bool enabled) {
|
| + header()->ebs_enabled = enabled;
|
| + }
|
| +
|
| + void set_qos_type(char type) {
|
| + header()->qos_type = type;
|
| + }
|
| +
|
| + void set_qos_target(int target) {
|
| + header()->qos_target = target;
|
| + }
|
| +
|
| // Sets all the given header values. The message should be empty at this
|
| // call.
|
| void SetHeaderValues(int32_t routing, uint32_t type, uint32_t flags);
|
| @@ -268,6 +292,9 @@ class IPC_EXPORT Message : public base::Pickle {
|
| int32_t routing; // ID of the view that this message is destined for
|
| uint32_t type; // specifies the user-defined message type
|
| uint32_t flags; // specifies control flags for the message
|
| + char qos_type; // specifies the QoS type of an event. It's a hack for the general flameblaming idea
|
| + int qos_target; // specifies the QoS target of an event.
|
| + bool ebs_enabled; // specifies whether ebs is enabled
|
| #if defined(OS_MACOSX)
|
| // The number of brokered attachments included with this message. The
|
| // ids of the brokered attachment ids are sent immediately after the pickled
|
|
|