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

Unified Diff: ipc/ipc_message.cc

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_message.h ('k') | third_party/WebKit/Source/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_message.cc
diff --git a/ipc/ipc_message.cc b/ipc/ipc_message.cc
index 2738bf13bc254087f560ea7474c696e901abaaec..1e43243d25468d6561f327cae93a0e4eec4533ff 100644
--- a/ipc/ipc_message.cc
+++ b/ipc/ipc_message.cc
@@ -50,6 +50,9 @@ Message::~Message() {
Message::Message() : base::Pickle(sizeof(Header)) {
header()->routing = header()->type = 0;
header()->flags = GetRefNumUpper24();
+ header()->qos_type = 'u';
+ header()->qos_target = 0;
+ header()->ebs_enabled = false;
#if defined(OS_MACOSX)
header()->num_brokered_attachments = 0;
#endif
@@ -66,6 +69,9 @@ Message::Message(int32_t routing_id, uint32_t type, PriorityValue priority)
header()->type = type;
DCHECK((priority & 0xffffff00) == 0);
header()->flags = priority | GetRefNumUpper24();
+ header()->qos_type = 'u';
+ header()->qos_target = 0;
+ header()->ebs_enabled = false;
#if defined(OS_MACOSX)
header()->num_brokered_attachments = 0;
#endif
@@ -111,6 +117,9 @@ void Message::SetHeaderValues(int32_t routing, uint32_t type, uint32_t flags) {
header()->routing = routing;
header()->type = type;
header()->flags = flags;
+ header()->qos_type = 'u';
+ header()->qos_target = 0;
+ header()->ebs_enabled = false;
}
void Message::EnsureMessageAttachmentSet() {
« no previous file with comments | « ipc/ipc_message.h ('k') | third_party/WebKit/Source/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698