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

Side by Side Diff: net/url_request/url_fetcher.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 NET_URL_REQUEST_URL_FETCHER_H_ 5 #ifndef NET_URL_REQUEST_URL_FETCHER_H_
6 #define NET_URL_REQUEST_URL_FETCHER_H_ 6 #define NET_URL_REQUEST_URL_FETCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 14 matching lines...) Expand all
25 class TaskRunner; 25 class TaskRunner;
26 class TimeDelta; 26 class TimeDelta;
27 } 27 }
28 28
29 namespace url { 29 namespace url {
30 class Origin; 30 class Origin;
31 } 31 }
32 32
33 namespace net { 33 namespace net {
34 class HostPortPair; 34 class HostPortPair;
35 class HttpRequestHeaders;
36 class HttpResponseHeaders; 35 class HttpResponseHeaders;
37 class URLFetcherDelegate; 36 class URLFetcherDelegate;
38 class URLFetcherResponseWriter; 37 class URLFetcherResponseWriter;
39 class URLRequestContextGetter; 38 class URLRequestContextGetter;
40 class URLRequestStatus; 39 class URLRequestStatus;
41 40
42 // To use this class, create an instance with the desired URL and a pointer to 41 // To use this class, create an instance with the desired URL and a pointer to
43 // the object to be notified when the URL has been loaded: 42 // the object to be notified when the URL has been loaded:
44 // std::unique_ptr<URLFetcher> fetcher = 43 // std::unique_ptr<URLFetcher> fetcher =
45 // URLFetcher::Create(GURL("http://www.google.com"), 44 // URLFetcher::Create(GURL("http://www.google.com"),
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // be removed once the URLFetcher is destroyed. User should not take 329 // be removed once the URLFetcher is destroyed. User should not take
331 // ownership more than once, or call this method after taking ownership. 330 // ownership more than once, or call this method after taking ownership.
332 virtual bool GetResponseAsFilePath( 331 virtual bool GetResponseAsFilePath(
333 bool take_ownership, 332 bool take_ownership,
334 base::FilePath* out_response_path) const = 0; 333 base::FilePath* out_response_path) const = 0;
335 }; 334 };
336 335
337 } // namespace net 336 } // namespace net
338 337
339 #endif // NET_URL_REQUEST_URL_FETCHER_H_ 338 #endif // NET_URL_REQUEST_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « net/url_request/sdch_dictionary_fetcher.h ('k') | net/url_request/url_fetcher_response_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698