Index: net/base/capturing_net_log.cc |
diff --git a/net/base/capturing_net_log.cc b/net/base/capturing_net_log.cc |
index 3837fe69b1d8c93ff48bb86ccbd77e6edfcf148b..fec8b2a94a58d9fce24fd49461492ea5c8be0ad7 100644 |
--- a/net/base/capturing_net_log.cc |
+++ b/net/base/capturing_net_log.cc |
@@ -27,10 +27,11 @@ CapturingNetLog::CapturedEntry::CapturedEntry(const CapturedEntry& entry) { |
*this = entry; |
} |
-CapturingNetLog::CapturedEntry::~CapturedEntry() {} |
+CapturingNetLog::CapturedEntry::~CapturedEntry() { |
+} |
-CapturingNetLog::CapturedEntry& |
-CapturingNetLog::CapturedEntry::operator=(const CapturedEntry& entry) { |
+CapturingNetLog::CapturedEntry& CapturingNetLog::CapturedEntry::operator=( |
+ const CapturedEntry& entry) { |
type = entry.type; |
time = entry.time; |
source = entry.source; |
@@ -39,17 +40,15 @@ CapturingNetLog::CapturedEntry::operator=(const CapturedEntry& entry) { |
return *this; |
} |
-bool CapturingNetLog::CapturedEntry::GetStringValue( |
- const std::string& name, |
- std::string* value) const { |
+bool CapturingNetLog::CapturedEntry::GetStringValue(const std::string& name, |
+ std::string* value) const { |
if (!params) |
return false; |
return params->GetString(name, value); |
} |
-bool CapturingNetLog::CapturedEntry::GetIntegerValue( |
- const std::string& name, |
- int* value) const { |
+bool CapturingNetLog::CapturedEntry::GetIntegerValue(const std::string& name, |
+ int* value) const { |
if (!params) |
return false; |
return params->GetInteger(name, value); |
@@ -75,9 +74,11 @@ std::string CapturingNetLog::CapturedEntry::GetParamsJson() const { |
return json; |
} |
-CapturingNetLog::Observer::Observer() {} |
+CapturingNetLog::Observer::Observer() { |
+} |
-CapturingNetLog::Observer::~Observer() {} |
+CapturingNetLog::Observer::~Observer() { |
+} |
void CapturingNetLog::Observer::GetEntries( |
CapturedEntryList* entry_list) const { |
@@ -91,7 +92,8 @@ void CapturingNetLog::Observer::GetEntriesForSource( |
base::AutoLock lock(lock_); |
entry_list->clear(); |
for (CapturedEntryList::const_iterator entry = captured_entries_.begin(); |
- entry != captured_entries_.end(); ++entry) { |
+ entry != captured_entries_.end(); |
+ ++entry) { |
if (entry->source.id == source.id) |
entry_list->push_back(*entry); |
} |
@@ -145,9 +147,8 @@ void CapturingNetLog::GetEntries( |
capturing_net_log_observer_.GetEntries(entry_list); |
} |
-void CapturingNetLog::GetEntriesForSource( |
- NetLog::Source source, |
- CapturedEntryList* entry_list) const { |
+void CapturingNetLog::GetEntriesForSource(NetLog::Source source, |
+ CapturedEntryList* entry_list) const { |
capturing_net_log_observer_.GetEntriesForSource(source, entry_list); |
} |
@@ -160,11 +161,12 @@ void CapturingNetLog::Clear() { |
} |
CapturingBoundNetLog::CapturingBoundNetLog() |
- : net_log_(BoundNetLog::Make(&capturing_net_log_, |
- net::NetLog::SOURCE_NONE)) { |
+ : net_log_( |
+ BoundNetLog::Make(&capturing_net_log_, net::NetLog::SOURCE_NONE)) { |
} |
-CapturingBoundNetLog::~CapturingBoundNetLog() {} |
+CapturingBoundNetLog::~CapturingBoundNetLog() { |
+} |
void CapturingBoundNetLog::GetEntries( |
CapturingNetLog::CapturedEntryList* entry_list) const { |