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

Side by Side Diff: components/data_reduction_proxy/browser/data_reduction_proxy_tamper_detect.h

Issue 338483002: Chrome Participated Tamper Detect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698