| Index: chrome/browser/safe_browsing/safe_browsing_service.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/safe_browsing_service.cc (revision 69048)
|
| +++ chrome/browser/safe_browsing/safe_browsing_service.cc (working copy)
|
| @@ -433,14 +433,16 @@
|
| cmdline->GetSwitchValueASCII(switches::kSbMacKeyURLPrefix) :
|
| kSbDefaultMacKeyURLPrefix;
|
|
|
| - protocol_manager_ = new SafeBrowsingProtocolManager(this,
|
| - client_name,
|
| - client_key,
|
| - wrapped_key,
|
| - request_context_getter,
|
| - info_url_prefix,
|
| - mackey_url_prefix,
|
| - disable_auto_update);
|
| + DCHECK(!protocol_manager_);
|
| + protocol_manager_ =
|
| + SafeBrowsingProtocolManager::Create(this,
|
| + client_name,
|
| + client_key,
|
| + wrapped_key,
|
| + request_context_getter,
|
| + info_url_prefix,
|
| + mackey_url_prefix,
|
| + disable_auto_update);
|
|
|
| protocol_manager_->Initialize();
|
| }
|
|
|