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

Unified Diff: net/base/net_log.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/base/net_log.h
diff --git a/net/base/net_log.h b/net/base/net_log.h
index b037a336bc57fd9b0b2ce05f9f07ee846b96c8d3..3407587a619549142a1b9d18de250d0db6d12a1c 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
@@ -378,7 +378,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;
@@ -397,8 +398,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) {}
NetLog::Source source_;
NetLog* net_log_;

Powered by Google App Engine
This is Rietveld 408576698