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

Unified Diff: net/base/address_list.h

Issue 649763002: git cl format the second 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
« no previous file with comments | « no previous file | net/base/address_tracker_linux.h » ('j') | net/base/address_tracker_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list.h
diff --git a/net/base/address_list.h b/net/base/address_list.h
index 1487e11c306919f90f7590a3418ade24a6f38649..25463d8783ecd57c34acb23a736218779e75ad24 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -31,9 +31,8 @@ class NET_EXPORT AddressList
static AddressList CreateFromIPAddress(const IPAddressNumber& address,
uint16 port);
- static AddressList CreateFromIPAddressList(
- const IPAddressList& addresses,
- const std::string& canonical_name);
+ static AddressList CreateFromIPAddressList(const IPAddressList& addresses,
+ const std::string& canonical_name);
// Copies the data from |head| and the chained list into an AddressList.
static AddressList CreateFromAddrinfo(const struct addrinfo* head);
@@ -42,9 +41,7 @@ class NET_EXPORT AddressList
static AddressList CopyWithPort(const AddressList& list, uint16 port);
// TODO(szym): Remove all three. http://crbug.com/126134
- const std::string& canonical_name() const {
- return canonical_name_;
- }
+ const std::string& canonical_name() const { return canonical_name_; }
void set_canonical_name(const std::string& canonical_name) {
canonical_name_ = canonical_name;
« no previous file with comments | « no previous file | net/base/address_tracker_linux.h » ('j') | net/base/address_tracker_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698