 Chromium Code Reviews
 Chromium Code Reviews Issue 649763002:
  git cl format the second third of the net/base directory  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 649763002:
  git cl format the second third of the net/base directory  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: net/base/trace_net_log_observer.cc | 
| diff --git a/net/base/trace_net_log_observer.cc b/net/base/trace_net_log_observer.cc | 
| index 77945fbe8d98a0c0b05c8b26f14d99c4937c045a..b27e28a8260cd8a8c3cfa82addb52a8b0acfc2a6 100644 | 
| --- a/net/base/trace_net_log_observer.cc | 
| +++ b/net/base/trace_net_log_observer.cc | 
| @@ -55,23 +55,35 @@ void TraceNetLogObserver::OnAddEntry(const NetLog::Entry& entry) { | 
| switch (entry.phase()) { | 
| case NetLog::PHASE_BEGIN: | 
| TRACE_EVENT_NESTABLE_ASYNC_BEGIN2( | 
| - "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, | 
| - "source_type", NetLog::SourceTypeToString(entry.source().type), | 
| - "params", scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| + "netlog", | 
| + NetLog::EventTypeToString(entry.type()), | 
| + entry.source().id, | 
| + "source_type", | 
| + NetLog::SourceTypeToString(entry.source().type), | 
| + "params", | 
| + scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| 
davidben
2014/10/10 20:24:16
No action: The old one is a little better for this
 | 
| new TracedValue(params.Pass()))); | 
| break; | 
| case NetLog::PHASE_END: | 
| TRACE_EVENT_NESTABLE_ASYNC_END2( | 
| - "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, | 
| - "source_type", NetLog::SourceTypeToString(entry.source().type), | 
| - "params", scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| + "netlog", | 
| + NetLog::EventTypeToString(entry.type()), | 
| + entry.source().id, | 
| + "source_type", | 
| + NetLog::SourceTypeToString(entry.source().type), | 
| + "params", | 
| + scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| new TracedValue(params.Pass()))); | 
| break; | 
| case NetLog::PHASE_NONE: | 
| TRACE_EVENT_NESTABLE_ASYNC_INSTANT2( | 
| - "netlog", NetLog::EventTypeToString(entry.type()), entry.source().id, | 
| - "source_type", NetLog::SourceTypeToString(entry.source().type), | 
| - "params", scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| + "netlog", | 
| + NetLog::EventTypeToString(entry.type()), | 
| + entry.source().id, | 
| + "source_type", | 
| + NetLog::SourceTypeToString(entry.source().type), | 
| + "params", | 
| + scoped_refptr<base::debug::ConvertableToTraceFormat>( | 
| new TracedValue(params.Pass()))); | 
| break; | 
| } |