| Index: net/url_request/url_request_job_factory_impl.h
|
| diff --git a/net/url_request/url_request_job_factory_impl.h b/net/url_request/url_request_job_factory_impl.h
|
| index 8d1d8d96c99949ae32f49b53a23708bac8aa8d52..cba11248ca03ec7b46563832ddeb1852718ffe1a 100644
|
| --- a/net/url_request/url_request_job_factory_impl.h
|
| +++ b/net/url_request/url_request_job_factory_impl.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "net/base/net_export.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
|
|
| @@ -23,10 +24,9 @@ class NET_EXPORT URLRequestJobFactoryImpl : public URLRequestJobFactory {
|
| ~URLRequestJobFactoryImpl() override;
|
|
|
| // Sets the ProtocolHandler for a scheme. Returns true on success, false on
|
| - // failure (a ProtocolHandler already exists for |scheme|). On success,
|
| - // URLRequestJobFactory takes ownership of |protocol_handler|.
|
| + // failure (a ProtocolHandler already exists for |scheme|).
|
| bool SetProtocolHandler(const std::string& scheme,
|
| - ProtocolHandler* protocol_handler);
|
| + scoped_ptr<ProtocolHandler> protocol_handler);
|
|
|
| // URLRequestJobFactory implementation
|
| URLRequestJob* MaybeCreateJobWithProtocolHandler(
|
|
|