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

Side by Side Diff: media/cast/logging/log_serializer.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « media/cast/logging/log_deserializer.cc ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 // The serialization format is as follows: 5 // The serialization format is as follows:
6 // 16-bit integer describing the following LogMetadata proto size in bytes. 6 // 16-bit integer describing the following LogMetadata proto size in bytes.
7 // The LogMetadata proto. 7 // The LogMetadata proto.
8 // 32-bit integer describing number of frame events. 8 // 32-bit integer describing number of frame events.
9 // (The following repeated for number of frame events): 9 // (The following repeated for number of frame events):
10 // 16-bit integer describing the following AggregatedFrameEvent proto size 10 // 16-bit integer describing the following AggregatedFrameEvent proto size
11 // in bytes. 11 // in bytes.
12 // The AggregatedFrameEvent proto. 12 // The AggregatedFrameEvent proto.
13 // 32-bit integer describing number of packet events. 13 // 32-bit integer describing number of packet events.
14 // (The following repeated for number of packet events): 14 // (The following repeated for number of packet events):
15 // 16-bit integer describing the following AggregatedPacketEvent proto 15 // 16-bit integer describing the following AggregatedPacketEvent proto
16 // size in bytes. 16 // size in bytes.
17 // The AggregatedPacketEvent proto. 17 // The AggregatedPacketEvent proto.
18 18
19 #include "media/cast/logging/log_serializer.h" 19 #include "media/cast/logging/log_serializer.h"
20 20
21 #include <stdint.h>
22
21 #include "base/big_endian.h" 23 #include "base/big_endian.h"
22 #include "base/logging.h" 24 #include "base/logging.h"
23 #include "base/memory/scoped_ptr.h" 25 #include "base/memory/scoped_ptr.h"
24 #include "third_party/zlib/zlib.h" 26 #include "third_party/zlib/zlib.h"
25 27
26 namespace media { 28 namespace media {
27 namespace cast { 29 namespace cast {
28 30
29 namespace { 31 namespace {
30 32
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 frame_events, 183 frame_events,
182 packet_events, 184 packet_events,
183 max_output_bytes, 185 max_output_bytes,
184 output, 186 output,
185 output_bytes); 187 output_bytes);
186 } 188 }
187 } 189 }
188 190
189 } // namespace cast 191 } // namespace cast
190 } // namespace media 192 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/logging/log_deserializer.cc ('k') | media/cast/logging/logging_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698