| Index: components/component_updater/test/url_request_post_interceptor.cc
|
| diff --git a/components/component_updater/test/url_request_post_interceptor.cc b/components/component_updater/test/url_request_post_interceptor.cc
|
| index f2dc839ccd0492ea03b3528108b79d01f0e7e0ae..e5a2166e30504a1fac2027f04992b81967b3540c 100644
|
| --- a/components/component_updater/test/url_request_post_interceptor.cc
|
| +++ b/components/component_updater/test/url_request_post_interceptor.cc
|
| @@ -173,7 +173,7 @@ class URLRequestPostInterceptor::Delegate : public net::URLRequestInterceptor {
|
|
|
| net::URLRequestJob* MaybeInterceptRequest(
|
| net::URLRequest* request,
|
| - net::NetworkDelegate* network_delegate) const override {
|
| + net::NetworkDelegate* network_delegate) override {
|
| DCHECK(io_task_runner_->RunsTasksOnCurrentThread());
|
|
|
| // Only intercepts POST.
|
| @@ -226,6 +226,19 @@ class URLRequestPostInterceptor::Delegate : public net::URLRequestInterceptor {
|
| return NULL;
|
| }
|
|
|
| + net::URLRequestJob* MaybeInterceptRedirect(
|
| + net::URLRequest* request,
|
| + net::NetworkDelegate* network_delegate,
|
| + const GURL& location) override {
|
| + return NULL;
|
| + }
|
| +
|
| + net::URLRequestJob* MaybeInterceptResponse(
|
| + net::URLRequest* request,
|
| + net::NetworkDelegate* network_delegate) override {
|
| + return NULL;
|
| + }
|
| +
|
| typedef std::map<GURL, URLRequestPostInterceptor*> InterceptorMap;
|
| InterceptorMap interceptors_;
|
|
|
|
|