Remove Dr. Memory suppression for now-fixed null deref.
[chromium-blink-merge.git] / mojo / spy / common.h
blobf39f28393900276f0fa7c199d20bbe7ad7a4b8d3
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MOJO_SPY_COMMON_H_
6 #define MOJO_SPY_COMMON_H_
8 #include <stdint.h>
10 namespace mojo {
12 #pragma pack(push, 1)
14 // Mojo message header structures. These are based off the Mojo spec.
16 enum {
17 kMessageExpectsResponse = 1 << 0,
18 kMessageIsResponse = 1 << 1
21 struct MojoCommonHeader {
22 uint32_t num_bytes;
23 uint32_t num_fields;
26 struct MojoMessageHeader : public MojoCommonHeader {
27 uint32_t name;
28 uint32_t flags;
31 struct MojoRequestHeader : public MojoMessageHeader {
32 uint64_t request_id;
35 struct MojoMessageData {
36 MojoRequestHeader header;
39 #pragma pack(pop)
41 } // namespace mojo
43 #endif // MOJO_SPY_COMMON_H_