| Index: net/url_request/url_fetcher.cc
|
| diff --git a/net/url_request/url_fetcher.cc b/net/url_request/url_fetcher.cc
|
| index 1d13e4581cae62a9cf61371d7c8faac1f2324a7e..a6ed109c716a1bcd8afcb7856961589d65f7925c 100644
|
| --- a/net/url_request/url_fetcher.cc
|
| +++ b/net/url_request/url_fetcher.cc
|
| @@ -32,6 +32,27 @@ std::unique_ptr<URLFetcher> URLFetcher::Create(
|
| }
|
|
|
| // static
|
| +std::unique_ptr<URLFetcher> URLFetcher::Create(
|
| + const GURL& url,
|
| + URLFetcher::RequestType request_type,
|
| + URLFetcherDelegate* d,
|
| + NetworkTrafficAnnotationTag traffic_annotation) {
|
| + return URLFetcher::Create(0, url, request_type, d, traffic_annotation);
|
| +}
|
| +
|
| +// static
|
| +std::unique_ptr<URLFetcher> URLFetcher::Create(
|
| + int id,
|
| + const GURL& url,
|
| + URLFetcher::RequestType request_type,
|
| + URLFetcherDelegate* d,
|
| + NetworkTrafficAnnotationTag traffic_annotation) {
|
| + // traffic_annotation is just a tag that is extracted during static
|
| + // code analysis and can be ignored here.
|
| + return Create(id, url, request_type, d);
|
| +}
|
| +
|
| +// static
|
| void URLFetcher::CancelAll() {
|
| URLFetcherImpl::CancelAll();
|
| }
|
|
|