OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_TAMPER_DETE CT_H_ | |
6 #define COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_TAMPER_DETE CT_H_ | |
7 | |
8 #include "net/http/http_request_headers.h" | |
9 #include "net/http/http_response_headers.h" | |
10 | |
11 namespace data_reduction_proxy { | |
12 | |
13 // Eported for unittest | |
bolian
2014/06/25 18:55:56
s/Eported/Exported
xingx
2014/06/25 20:55:43
Done.
| |
14 bool CheckHeaderChromeProxy(const std::string, | |
bolian
2014/06/25 18:55:56
Comment public funcs. See http://google-styleguide
xingx
2014/06/25 20:55:43
Done.
| |
15 const net::HttpResponseHeaders*); | |
16 | |
17 bool CheckHeaderVia(const std::string, const net::HttpResponseHeaders*); | |
18 | |
19 bool CheckHeaderOtherHeaders(const std::string, | |
20 const net::HttpResponseHeaders*); | |
21 | |
22 bool CheckHeaderContentLength(const std::string, | |
23 const net::HttpResponseHeaders*, std::string*); | |
24 | |
25 void CheckResponseFingerprint(const net::HttpResponseHeaders*, const bool); | |
26 | |
27 } // namespace data_reduction_proxy | |
28 #endif // COMPONENTS_DATA_REDUCTION_PROXY_BROWSER_DATA_REDUCTION_PROXY_TAMPER_D ETECT_H_ | |
OLD | NEW |