| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUTH_R
EQUEST_HANDLER_H_ | 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUTH_R
EQUEST_HANDLER_H_ |
| 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUTH_R
EQUEST_HANDLER_H_ | 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUTH_R
EQUEST_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 17 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_util.
h" | 20 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_util.
h" |
| 21 | 21 |
| 22 namespace net { | 22 namespace net { |
| 23 class HostPortPair; | |
| 24 class HttpRequestHeaders; | 23 class HttpRequestHeaders; |
| 25 class HttpResponseHeaders; | |
| 26 class ProxyServer; | |
| 27 class URLRequest; | |
| 28 } | 24 } |
| 29 | 25 |
| 30 namespace data_reduction_proxy { | 26 namespace data_reduction_proxy { |
| 31 | 27 |
| 32 extern const char kSessionHeaderOption[]; | 28 extern const char kSessionHeaderOption[]; |
| 33 extern const char kCredentialsHeaderOption[]; | 29 extern const char kCredentialsHeaderOption[]; |
| 34 extern const char kSecureSessionHeaderOption[]; | 30 extern const char kSecureSessionHeaderOption[]; |
| 35 extern const char kBuildNumberHeaderOption[]; | 31 extern const char kBuildNumberHeaderOption[]; |
| 36 extern const char kPatchNumberHeaderOption[]; | 32 extern const char kPatchNumberHeaderOption[]; |
| 37 extern const char kClientHeaderOption[]; | 33 extern const char kClientHeaderOption[]; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 DataReductionProxyConfig* data_reduction_proxy_config_; | 149 DataReductionProxyConfig* data_reduction_proxy_config_; |
| 154 | 150 |
| 155 // Enforce usage on the IO thread. | 151 // Enforce usage on the IO thread. |
| 156 base::ThreadChecker thread_checker_; | 152 base::ThreadChecker thread_checker_; |
| 157 | 153 |
| 158 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyRequestOptions); | 154 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyRequestOptions); |
| 159 }; | 155 }; |
| 160 | 156 |
| 161 } // namespace data_reduction_proxy | 157 } // namespace data_reduction_proxy |
| 162 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUT
H_REQUEST_HANDLER_H_ | 158 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_AUT
H_REQUEST_HANDLER_H_ |
| OLD | NEW |