| 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 // TODO(rdsmith): This class needs to delegate URLRequest::Delegate methods | 5 // TODO(rdsmith): This class needs to delegate URLRequest::Delegate methods |
| 6 // to the net/ embedder for correct implementation of authentication. | 6 // to the net/ embedder for correct implementation of authentication. |
| 7 // Specifically, this class needs the embedder to provide functionality | 7 // Specifically, this class needs the embedder to provide functionality |
| 8 // corresponding to | 8 // corresponding to |
| 9 // URLRequest::Delegate::{OnAuthRequired,OnCertificateRequested}. | 9 // URLRequest::Delegate::{OnAuthRequired,OnCertificateRequested}. |
| 10 | 10 |
| 11 #ifndef NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ | 11 #ifndef NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ |
| 12 #define NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ | 12 #define NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
| 19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
| 20 #include "net/base/net_export.h" |
| 20 #include "net/base/sdch_manager.h" | 21 #include "net/base/sdch_manager.h" |
| 21 #include "net/url_request/url_fetcher_delegate.h" | 22 #include "net/url_request/url_fetcher_delegate.h" |
| 22 #include "net/url_request/url_request.h" | 23 #include "net/url_request/url_request.h" |
| 23 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 24 | 25 |
| 25 namespace net { | 26 namespace net { |
| 26 | 27 |
| 27 class NetLogWithSource; | 28 class NetLogWithSource; |
| 28 class URLRequest; | 29 class URLRequest; |
| 29 class URLRequestThrottlerEntryInterface; | 30 class URLRequestThrottlerEntryInterface; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // Store the URLRequestContext associated with the owning SdchManager for | 121 // Store the URLRequestContext associated with the owning SdchManager for |
| 121 // use while fetching. | 122 // use while fetching. |
| 122 URLRequestContext* const context_; | 123 URLRequestContext* const context_; |
| 123 | 124 |
| 124 DISALLOW_COPY_AND_ASSIGN(SdchDictionaryFetcher); | 125 DISALLOW_COPY_AND_ASSIGN(SdchDictionaryFetcher); |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 } // namespace net | 128 } // namespace net |
| 128 | 129 |
| 129 #endif // NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ | 130 #endif // NET_URL_REQUEST_SDCH_DICTIONARY_FETCHER_H_ |
| OLD | NEW |