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

Side by Side Diff: media/formats/webm/webm_audio_client.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/formats/webm/opus_packet_builder.h ('k') | media/formats/webm/webm_cluster_parser.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 #ifndef MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ 6 #define MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "media/base/media_log.h" 12 #include "media/base/media_log.h"
12 #include "media/formats/webm/webm_parser.h" 13 #include "media/formats/webm/webm_parser.h"
13 14
14 namespace media { 15 namespace media {
15 class AudioDecoderConfig; 16 class AudioDecoderConfig;
16 17
17 // Helper class used to parse an Audio element inside a TrackEntry element. 18 // Helper class used to parse an Audio element inside a TrackEntry element.
18 class WebMAudioClient : public WebMParserClient { 19 class WebMAudioClient : public WebMParserClient {
19 public: 20 public:
20 explicit WebMAudioClient(const scoped_refptr<MediaLog>& media_log); 21 explicit WebMAudioClient(const scoped_refptr<MediaLog>& media_log);
(...skipping 24 matching lines...) Expand all
45 int channels_; 46 int channels_;
46 double samples_per_second_; 47 double samples_per_second_;
47 double output_samples_per_second_; 48 double output_samples_per_second_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(WebMAudioClient); 50 DISALLOW_COPY_AND_ASSIGN(WebMAudioClient);
50 }; 51 };
51 52
52 } // namespace media 53 } // namespace media
53 54
54 #endif // MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_ 55 #endif // MEDIA_FORMATS_WEBM_WEBM_AUDIO_CLIENT_H_
OLDNEW
« no previous file with comments | « media/formats/webm/opus_packet_builder.h ('k') | media/formats/webm/webm_cluster_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698