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

Side by Side Diff: media/base/media_log.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/base/media_keys.h ('k') | media/base/mock_audio_renderer_sink.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_MEDIA_LOG_H_ 5 #ifndef MEDIA_BASE_MEDIA_LOG_H_
6 #define MEDIA_BASE_MEDIA_LOG_H_ 6 #define MEDIA_BASE_MEDIA_LOG_H_
7 7
8 #include <sstream> 8 #include <sstream>
9 #include <string> 9 #include <string>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
15 #include "media/base/media_log_event.h" 16 #include "media/base/media_log_event.h"
16 #include "media/base/pipeline.h" 17 #include "media/base/pipeline.h"
17 #include "media/base/pipeline_status.h" 18 #include "media/base/pipeline_status.h"
18 19
19 namespace media { 20 namespace media {
20 21
21 class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> { 22 class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #define LIMITED_MEDIA_LOG(level, media_log, count, max) \ 119 #define LIMITED_MEDIA_LOG(level, media_log, count, max) \
119 LAZY_STREAM(MEDIA_LOG(level, media_log), \ 120 LAZY_STREAM(MEDIA_LOG(level, media_log), \
120 (count) < (max) && ((count)++ || true)) \ 121 (count) < (max) && ((count)++ || true)) \
121 << (((count) == (max)) ? "(Log limit reached. Further similar entries " \ 122 << (((count) == (max)) ? "(Log limit reached. Further similar entries " \
122 "may be suppressed): " \ 123 "may be suppressed): " \
123 : "") 124 : "")
124 125
125 } // namespace media 126 } // namespace media
126 127
127 #endif // MEDIA_BASE_MEDIA_LOG_H_ 128 #endif // MEDIA_BASE_MEDIA_LOG_H_
OLDNEW
« no previous file with comments | « media/base/media_keys.h ('k') | media/base/mock_audio_renderer_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698