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

Unified Diff: net/base/address_list.cc

Issue 647883002: git cl format the final third of the net/base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/address_list.cc
diff --git a/net/base/address_list.cc b/net/base/address_list.cc
index 02a762bf76a4062ef6bdaeda50150b544e59e60b..78906fceac5332305f0204494c8dd262bf916da8 100644
--- a/net/base/address_list.cc
+++ b/net/base/address_list.cc
@@ -20,7 +20,8 @@ base::Value* NetLogAddressListCallback(const AddressList* address_list,
base::ListValue* list = new base::ListValue();
for (AddressList::const_iterator it = address_list->begin();
- it != address_list->end(); ++it) {
+ it != address_list->end();
mef 2014/10/10 20:38:16 I'm not sure about 3-line split in for loop.
+ ++it) {
list->Append(new base::StringValue(it->ToString()));
}
@@ -30,9 +31,11 @@ base::Value* NetLogAddressListCallback(const AddressList* address_list,
} // namespace
-AddressList::AddressList() {}
+AddressList::AddressList() {
+}
-AddressList::~AddressList() {}
+AddressList::~AddressList() {
+}
AddressList::AddressList(const IPEndPoint& endpoint) {
push_back(endpoint);
@@ -51,7 +54,8 @@ AddressList AddressList::CreateFromIPAddressList(
AddressList list;
list.set_canonical_name(canonical_name);
for (IPAddressList::const_iterator iter = addresses.begin();
- iter != addresses.end(); ++iter) {
+ iter != addresses.end();
+ ++iter) {
list.push_back(IPEndPoint(*iter, 0));
}
return list;

Powered by Google App Engine
This is Rietveld 408576698