| Index: components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h
|
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h
|
| index 4de37575651e1f0dbb31556cee03feaab1aa73c8..312eed2b172614634d4ecbabd9252b1c4108cfe7 100644
|
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h
|
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_auth_request_handler.h
|
| @@ -15,6 +15,8 @@ class AuthChallengeInfo;
|
|
|
| namespace data_reduction_proxy {
|
|
|
| +class DataReductionProxySettings;
|
| +
|
| class DataReductionProxyAuthRequestHandler {
|
| public:
|
| enum TryHandleResult {
|
| @@ -23,7 +25,10 @@ class DataReductionProxyAuthRequestHandler {
|
| TRY_HANDLE_RESULT_CANCEL
|
| };
|
|
|
| - DataReductionProxyAuthRequestHandler();
|
| + // Constructs an authentication request handler and takes a pointer to a
|
| + // |settings| object, which must outlive the handler.
|
| + explicit DataReductionProxyAuthRequestHandler(
|
| + DataReductionProxySettings* settings);
|
| virtual ~DataReductionProxyAuthRequestHandler();
|
|
|
| // Returns |PROCEED| if the authentication challenge provided is one that the
|
| @@ -65,6 +70,9 @@ class DataReductionProxyAuthRequestHandler {
|
| // invalidation from repeat failures due to the client not being authorized.
|
| static int64 auth_token_invalidation_timestamp_;
|
|
|
| + // Settings object for the data reduction proxy. Must outlive the handler.
|
| + DataReductionProxySettings* settings_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(DataReductionProxyAuthRequestHandler);
|
| };
|
|
|
|
|