diff --git a/src/net/tools/naive/http_proxy_socket.h b/src/net/tools/naive/http_proxy_socket.h index 4f39ae1871..779ecfaa40 100644 --- a/src/net/tools/naive/http_proxy_socket.h +++ b/src/net/tools/naive/http_proxy_socket.h @@ -31,10 +31,9 @@ class ClientPaddingDetectorDelegate; // This StreamSocket is used to setup a HTTP CONNECT tunnel. class HttpProxySocket : public StreamSocket { public: - HttpProxySocket( - std::unique_ptr transport_socket, - ClientPaddingDetectorDelegate* padding_detector_delegate, - const NetworkTrafficAnnotationTag& traffic_annotation); + HttpProxySocket(std::unique_ptr transport_socket, + ClientPaddingDetectorDelegate* padding_detector_delegate, + const NetworkTrafficAnnotationTag& traffic_annotation); // On destruction Disconnect() is called. ~HttpProxySocket() override; diff --git a/src/net/tools/naive/naive_protocol.h b/src/net/tools/naive/naive_protocol.h index 401071a86e..e3e617fbfa 100644 --- a/src/net/tools/naive/naive_protocol.h +++ b/src/net/tools/naive/naive_protocol.h @@ -1,3 +1,6 @@ +// Copyright 2020 klzgrad . All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. #ifndef NET_TOOLS_NAIVE_NAIVE_PROTOCOL_H_ #define NET_TOOLS_NAIVE_NAIVE_PROTOCOL_H_ @@ -18,4 +21,4 @@ enum Direction { }; } // namespace net -#endif // NET_TOOLS_NAIVE_NAIVE_PROTOCOL_H_ \ No newline at end of file +#endif // NET_TOOLS_NAIVE_NAIVE_PROTOCOL_H_ diff --git a/src/net/tools/naive/naive_proxy_delegate.cc b/src/net/tools/naive/naive_proxy_delegate.cc index e6840b78a5..0c27f8c2d2 100644 --- a/src/net/tools/naive/naive_proxy_delegate.cc +++ b/src/net/tools/naive/naive_proxy_delegate.cc @@ -1,3 +1,6 @@ +// Copyright 2020 klzgrad . All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. #include "net/tools/naive/naive_proxy_delegate.h" #include @@ -152,4 +155,4 @@ PaddingSupport PaddingDetectorDelegate::GetServerPaddingSupport() { return cached_server_padding_support_; } -} // namespace net \ No newline at end of file +} // namespace net diff --git a/src/net/tools/naive/naive_proxy_delegate.h b/src/net/tools/naive/naive_proxy_delegate.h index bba309e44d..43cdeeadc2 100644 --- a/src/net/tools/naive/naive_proxy_delegate.h +++ b/src/net/tools/naive/naive_proxy_delegate.h @@ -1,3 +1,6 @@ +// Copyright 2020 klzgrad . All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. #ifndef NET_TOOLS_NAIVE_NAIVE_PROXY_DELEGATE_H_ #define NET_TOOLS_NAIVE_NAIVE_PROXY_DELEGATE_H_ @@ -31,7 +34,7 @@ enum class PaddingSupport { class NaiveProxyDelegate : public ProxyDelegate { public: - NaiveProxyDelegate(const HttpRequestHeaders& extra_headers); + explicit NaiveProxyDelegate(const HttpRequestHeaders& extra_headers); ~NaiveProxyDelegate() override; void OnResolveProxy(const GURL& url, @@ -88,4 +91,4 @@ class PaddingDetectorDelegate : public ClientPaddingDetectorDelegate { }; } // namespace net -#endif // NET_TOOLS_NAIVE_NAIVE_PROXY_DELEGATE_H_ \ No newline at end of file +#endif // NET_TOOLS_NAIVE_NAIVE_PROXY_DELEGATE_H_