Chromium Code Reviews| Index: net/base/net_log.h |
| diff --git a/net/base/net_log.h b/net/base/net_log.h |
| index 1b598ed84b763d7521a31a990914c2b4906326b1..8a5436660c2b9f293f8101b4b9b88f237d0e9bc3 100644 |
| --- a/net/base/net_log.h |
| +++ b/net/base/net_log.h |
| @@ -42,7 +42,7 @@ namespace net { |
| class NET_EXPORT NetLog { |
| public: |
| enum EventType { |
| -#define EVENT_TYPE(label) TYPE_ ## label, |
| +#define EVENT_TYPE(label) TYPE_##label, |
| #include "net/base/net_log_event_type_list.h" |
| #undef EVENT_TYPE |
| EVENT_COUNT |
| @@ -58,7 +58,7 @@ class NET_EXPORT NetLog { |
| // The "source" identifies the entity that generated the log message. |
| enum SourceType { |
| -#define SOURCE_TYPE(label) SOURCE_ ## label, |
| +#define SOURCE_TYPE(label) SOURCE_##label, |
| #include "net/base/net_log_source_type_list.h" |
| #undef SOURCE_TYPE |
| SOURCE_COUNT |
| @@ -370,7 +370,8 @@ class NET_EXPORT BoundNetLog { |
| // Logs a byte transfer event to the NetLog. Determines whether to log the |
| // received bytes or not based on the current logging level. |
| void AddByteTransferEvent(NetLog::EventType event_type, |
| - int byte_count, const char* bytes) const; |
| + int byte_count, |
| + const char* bytes) const; |
| NetLog::LogLevel GetLogLevel() const; |
| @@ -389,8 +390,7 @@ class NET_EXPORT BoundNetLog { |
| private: |
| BoundNetLog(const NetLog::Source& source, NetLog* net_log) |
| - : source_(source), net_log_(net_log) { |
| - } |
| + : source_(source), net_log_(net_log) {} |
|
mef
2014/10/10 20:38:17
Hmm, in many cases it seems to split {} into 2 lin
|
| NetLog::Source source_; |
| NetLog* net_log_; |