| Index: content/test/test_url_fetcher_factory.cc
|
| diff --git a/content/test/test_url_fetcher_factory.cc b/content/test/test_url_fetcher_factory.cc
|
| index 02f1933b1a7854615fb62c26e4372fb7b3719a03..57cd19cf7f6493836bf77171c839e93fd25ae18d 100644
|
| --- a/content/test/test_url_fetcher_factory.cc
|
| +++ b/content/test/test_url_fetcher_factory.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/message_loop.h"
|
| #include "content/common/net/url_fetcher_impl.h"
|
| +#include "content/public/common/content_url_request_user_data.h"
|
| #include "content/public/common/url_fetcher_delegate.h"
|
| #include "net/base/host_port_pair.h"
|
| #include "net/http/http_response_headers.h"
|
| @@ -88,6 +89,11 @@ void TestURLFetcher::SetRequestContext(
|
| net::URLRequestContextGetter* request_context_getter) {
|
| }
|
|
|
| +void TestURLFetcher::SetContentURLRequestUserData(
|
| + content::ContentURLRequestUserData* user_data) {
|
| + delete user_data;
|
| +}
|
| +
|
| void TestURLFetcher::SetAutomaticallyRetryOn5xx(bool retry) {
|
| }
|
|
|
| @@ -124,8 +130,9 @@ void TestURLFetcher::Start() {
|
| // Overriden to do nothing. It is assumed the caller will notify the delegate.
|
| }
|
|
|
| -void TestURLFetcher::StartWithRequestContextGetter(
|
| - net::URLRequestContextGetter* request_context_getter) {
|
| +void TestURLFetcher::StartWithRequestContextGetterAndUserData(
|
| + net::URLRequestContextGetter* request_context_getter,
|
| + content::ContentURLRequestUserData* user_data) {
|
| NOTIMPLEMENTED();
|
| }
|
|
|
|
|