| Index: components/safe_browsing_db/v4_get_hash_protocol_manager.h
|
| diff --git a/components/safe_browsing_db/v4_get_hash_protocol_manager.h b/components/safe_browsing_db/v4_get_hash_protocol_manager.h
|
| index 72f01e01a4656fcceab1e4508ca60e17edee8bed..85fb177ae1b484364ad7b575180dd3618fb05742 100644
|
| --- a/components/safe_browsing_db/v4_get_hash_protocol_manager.h
|
| +++ b/components/safe_browsing_db/v4_get_hash_protocol_manager.h
|
| @@ -52,9 +52,8 @@ class V4GetHashProtocolManager : public net::URLFetcherDelegate,
|
|
|
| // Makes the passed |factory| the factory used to instantiate
|
| // a V4GetHashProtocolManager. Useful for tests.
|
| - static void RegisterFactory(V4GetHashProtocolManagerFactory* factory) {
|
| - factory_ = factory;
|
| - }
|
| + static void RegisterFactory(
|
| + std::unique_ptr<V4GetHashProtocolManagerFactory> factory);
|
|
|
| // Create an instance of the safe browsing v4 protocol manager.
|
| static V4GetHashProtocolManager* Create(
|
|
|