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

Side by Side Diff: media/cdm/ppapi/cdm_logging.cc

Issue 1133363002: Getting rid of duplicate includes from media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/cdm/ppapi/cdm_helpers.cc ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.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 // Only compile this file in debug build. This gives us one more level of 5 // Only compile this file in debug build. This gives us one more level of
6 // protection that if the linker tries to link in strings/symbols appended to 6 // protection that if the linker tries to link in strings/symbols appended to
7 // "DLOG() <<" in release build (which it shouldn't), we'll get "undefined 7 // "DLOG() <<" in release build (which it shouldn't), we'll get "undefined
8 // reference" errors. 8 // reference" errors.
9 9
10 #include "media/cdm/ppapi/cdm_logging.h" 10 #include "media/cdm/ppapi/cdm_logging.h"
(...skipping 16 matching lines...) Expand all
27 #include <errno.h> 27 #include <errno.h>
28 #include <pthread.h> 28 #include <pthread.h>
29 #include <stdlib.h> 29 #include <stdlib.h>
30 #include <stdio.h> 30 #include <stdio.h>
31 #include <string.h> 31 #include <string.h>
32 #include <unistd.h> 32 #include <unistd.h>
33 #endif 33 #endif
34 34
35 #include <iomanip> 35 #include <iomanip>
36 #include <iostream> 36 #include <iostream>
37 #include <string>
38 37
39 namespace media { 38 namespace media {
40 39
41 #if !defined(NDEBUG) 40 #if !defined(NDEBUG)
42 41
43 namespace { 42 namespace {
44 43
45 // Helper functions to wrap platform differences. 44 // Helper functions to wrap platform differences.
46 45
47 int32 CurrentProcessId() { 46 int32 CurrentProcessId() {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 std::cout << std::endl; 133 std::cout << std::endl;
135 } 134 }
136 135
137 #endif // !defined(NDEBUG) 136 #endif // !defined(NDEBUG)
138 137
139 std::ostream& CdmLogStream::stream() { 138 std::ostream& CdmLogStream::stream() {
140 return std::cout; 139 return std::cout;
141 } 140 }
142 141
143 } // namespace media 142 } // namespace media
OLDNEW
« no previous file with comments | « media/cdm/ppapi/cdm_helpers.cc ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698