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

Unified Diff: ipc/ipc_message.h

Issue 1835303002: Implementation of the GreenWeb language extensions. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GreenWeb-related CSS property names such that they apply in the desired order at runtime. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ipc/ipc_channel_reader.cc ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ipc/ipc_channel_reader.cc ('k') | ipc/ipc_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698