Skip to content

Commit

Permalink
Fix newlines at end of files.
Browse files Browse the repository at this point in the history
Make sure every .h and .cc file in //net ends in exactly one newline
character.

Change-Id: I5c7777055705e6a881b37f8f8386880dd810e9fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1576437
Reviewed-by: Paul Jensen <pauljensen@chromium.org>
Commit-Queue: Bence Béky <bnc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652843}
  • Loading branch information
Bence Béky authored and Commit Bot committed Apr 22, 2019
1 parent 4fe0a52 commit b7bf2ad
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion net/android/android_http_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ jboolean JNI_HttpUtil_IsAllowedHeader(
}

} // namespace net

2 changes: 1 addition & 1 deletion net/cookies/canonical_cookie_test_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ MATCHER_P(MatchesCookieLine, cookie_line, "") {

} // namespace net

#endif // NET_COOKIES_CANONICAL_COOKIE_TEST_HELPERS_H_
#endif // NET_COOKIES_CANONICAL_COOKIE_TEST_HELPERS_H_
2 changes: 1 addition & 1 deletion net/dns/dns_config_service_fuchsia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ std::unique_ptr<DnsConfigService> DnsConfigService::CreateSystemService() {
return std::make_unique<internal::DnsConfigServiceFuchsia>();
}

} // namespace net
} // namespace net
2 changes: 1 addition & 1 deletion net/dns/dns_parse_domain_ascii_win_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
result = base::ToLowerASCII(result);

return 0;
}
}
2 changes: 1 addition & 1 deletion net/proxy_resolution/proxy_config_with_annotation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ ProxyConfigWithAnnotation::ProxyConfigWithAnnotation(
traffic_annotation_(
MutableNetworkTrafficAnnotationTag(traffic_annotation)) {}

} // namespace net
} // namespace net
2 changes: 1 addition & 1 deletion net/socket/socket_tag.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ void SocketTag::Apply(SocketDescriptor socket) const {
#endif // OS_ANDROID
}

} // namespace net
} // namespace net
2 changes: 1 addition & 1 deletion net/socket/socket_tag.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ class NET_EXPORT SocketTag {

} // namespace net

#endif // NET_SOCKET_SOCKET_TAG_H_
#endif // NET_SOCKET_SOCKET_TAG_H_
2 changes: 1 addition & 1 deletion net/tools/huffman_trie/trie_entry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ TrieEntry::~TrieEntry() = default;

} // namespace huffman_trie

} // namespace net
} // namespace net
2 changes: 1 addition & 1 deletion net/tools/quic/quic_http_proxy_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ class QuicHttpProxyBackend : public quic::QuicSimpleServerBackend {
};
} // namespace net

#endif // NET_TOOLS_QUIC_QUIC_HTTP_PROXY_BACKEND_H_
#endif // NET_TOOLS_QUIC_QUIC_HTTP_PROXY_BACKEND_H_
2 changes: 1 addition & 1 deletion net/tools/quic/quic_http_proxy_backend_stream.cc
Original file line number Diff line number Diff line change
Expand Up @@ -398,4 +398,4 @@ spdy::SpdyHeaderBlock QuicHttpProxyBackendStream::getAsQuicHeaders(
}
return quic_response_headers;
}
} // namespace net
} // namespace net
2 changes: 1 addition & 1 deletion net/tools/quic/quic_http_proxy_backend_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ class QuicHttpProxyBackendStream : public net::URLRequest::Delegate {

} // namespace net

#endif // NET_TOOLS_QUIC_QUIC_HTTP_PROXY_BACKEND_STREAM_H_
#endif // NET_TOOLS_QUIC_QUIC_HTTP_PROXY_BACKEND_STREAM_H_
2 changes: 1 addition & 1 deletion net/url_request/url_request_http_job_histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ enum class CookieNetworkSecurity {

} // namespace net

#endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_HISTOGRAM_H_
#endif // NET_URL_REQUEST_URL_REQUEST_HTTP_JOB_HISTOGRAM_H_

0 comments on commit b7bf2ad

Please sign in to comment.