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

Side by Side Diff: media/base/audio_hash.h

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 5 years 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/base/audio_hardware_config.cc ('k') | media/base/audio_hash.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef MEDIA_BASE_AUDIO_HASH_H_ 5 #ifndef MEDIA_BASE_AUDIO_HASH_H_
6 #define MEDIA_BASE_AUDIO_HASH_H_ 6 #define MEDIA_BASE_AUDIO_HASH_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <string> 11 #include <string>
9 12
10 #include "base/macros.h" 13 #include "base/macros.h"
11 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
12 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
13 16
14 namespace media { 17 namespace media {
15 18
16 class AudioBus; 19 class AudioBus;
17 20
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // The total number of samples processed per channel. Uses a uint32_t instead 52 // The total number of samples processed per channel. Uses a uint32_t instead
50 // of size_t so overflows on 64-bit and 32-bit machines are equivalent. 53 // of size_t so overflows on 64-bit and 32-bit machines are equivalent.
51 uint32_t sample_count_; 54 uint32_t sample_count_;
52 55
53 DISALLOW_COPY_AND_ASSIGN(AudioHash); 56 DISALLOW_COPY_AND_ASSIGN(AudioHash);
54 }; 57 };
55 58
56 } // namespace media 59 } // namespace media
57 60
58 #endif // MEDIA_BASE_AUDIO_HASH_H_ 61 #endif // MEDIA_BASE_AUDIO_HASH_H_
OLDNEW
« no previous file with comments | « media/base/audio_hardware_config.cc ('k') | media/base/audio_hash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698