OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ |
6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "net/url_request/url_fetcher.h" | 12 #include "net/url_request/url_fetcher.h" |
12 #include "net/url_request/url_fetcher_delegate.h" | 13 #include "net/url_request/url_fetcher_delegate.h" |
13 #include "net/url_request/url_request_context_getter.h" | 14 #include "net/url_request/url_request_context_getter.h" |
14 | 15 |
15 namespace dom_distiller { | 16 namespace dom_distiller { |
16 | 17 |
17 class DistillerURLFetcher; | 18 class DistillerURLFetcher; |
18 | 19 |
19 // Class for creating a DistillerURLFetcher. | 20 // Class for creating a DistillerURLFetcher. |
20 class DistillerURLFetcherFactory { | 21 class DistillerURLFetcherFactory { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 54 |
54 scoped_ptr<net::URLFetcher> url_fetcher_; | 55 scoped_ptr<net::URLFetcher> url_fetcher_; |
55 URLFetcherCallback callback_; | 56 URLFetcherCallback callback_; |
56 net::URLRequestContextGetter* context_getter_; | 57 net::URLRequestContextGetter* context_getter_; |
57 DISALLOW_COPY_AND_ASSIGN(DistillerURLFetcher); | 58 DISALLOW_COPY_AND_ASSIGN(DistillerURLFetcher); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace dom_distiller | 61 } // namespace dom_distiller |
61 | 62 |
62 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ | 63 #endif // COMPONENTS_DOM_DISTILLER_CORE_DISTILLER_URL_FETCHER_H_ |
OLD | NEW |