OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 BASE_LOGGING_H_ | 5 #ifndef BASE_LOGGING_H_ |
6 #define BASE_LOGGING_H_ | 6 #define BASE_LOGGING_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <cassert> | |
tzik
2011/06/15 09:38:19
#include <cassert> after defining assert may cause
willchan no longer on Chromium
2011/06/15 11:36:50
I don't understand how this fix works. Can you exp
| |
9 #include <string> | 10 #include <string> |
10 #include <cstring> | 11 #include <cstring> |
11 #include <sstream> | 12 #include <sstream> |
12 | 13 |
13 #include "base/base_api.h" | 14 #include "base/base_api.h" |
14 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
15 #include "build/build_config.h" | 16 #include "build/build_config.h" |
16 | 17 |
17 // | 18 // |
18 // Optional message capabilities | 19 // Optional message capabilities |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
937 namespace base { | 938 namespace base { |
938 | 939 |
939 class StringPiece; | 940 class StringPiece; |
940 | 941 |
941 // Allows StringPiece to be logged. | 942 // Allows StringPiece to be logged. |
942 BASE_API std::ostream& operator<<(std::ostream& o, const StringPiece& piece); | 943 BASE_API std::ostream& operator<<(std::ostream& o, const StringPiece& piece); |
943 | 944 |
944 } // namespace base | 945 } // namespace base |
945 | 946 |
946 #endif // BASE_LOGGING_H_ | 947 #endif // BASE_LOGGING_H_ |
OLD | NEW |