Lines Matching defs:URLFetcher

40 //   scoped_ptr<URLFetcher> fetcher(URLFetcher::Create("http://www.google.com",
41 // URLFetcher::GET,
55 // You may cancel the request by destroying the URLFetcher:
60 // OnURLFetchComplete() will be called with a pointer to the URLFetcher. From
61 // that point until the original URLFetcher instance is destroyed, you may use
63 // objects if you need them to live longer than the URLFetcher instance. If the
64 // URLFetcher instance is destroyed before the callback happens, the fetch will
67 // You may create the URLFetcher instance on any thread; OnURLFetchComplete()
71 // NOTE: By default URLFetcher requests are NOT intercepted, except when
73 class NET_EXPORT URLFetcher {
95 virtual ~URLFetcher();
100 // Caller is responsible for destroying the returned URLFetcher.
101 static URLFetcher* Create(const GURL& url,
102 URLFetcher::RequestType request_type,
107 // who is creating the URLFetcher.
108 // Caller is responsible for destroying the returned URLFetcher.
109 static URLFetcher* Create(int id,
111 URLFetcher::RequestType request_type,
122 // Normally interception is disabled for URLFetcher, but you can use this
124 // of testing code that uses an URLFetcher.
127 // Normally, URLFetcher will abort loads that request SSL client certificate
213 // will be called, with the URLFetcher's URL set to the redirect destination,
219 // it is true URLFetcher will automatically re-execute the request, after
224 // |max_retries| is the maximum number of times URLFetcher will retry a
243 // The created file is removed when the URLFetcher is deleted unless you
252 // The created file is removed when the URLFetcher is deleted unless you
306 // be removed once the URLFetcher is destroyed. User should not take