| Index: components/safe_browsing_db/remote_database_manager.cc
|
| diff --git a/components/safe_browsing_db/remote_database_manager.cc b/components/safe_browsing_db/remote_database_manager.cc
|
| index 87f3c4167adc42a135092348d3bcc6a4509574ae..dd6f37f339ee8fab848608fbc3fc14078a04e47f 100644
|
| --- a/components/safe_browsing_db/remote_database_manager.cc
|
| +++ b/components/safe_browsing_db/remote_database_manager.cc
|
| @@ -98,8 +98,7 @@ void RemoteSafeBrowsingDatabaseManager::ClientRequest::OnRequestDone(
|
| //
|
|
|
| // TODO(nparker): Add more tests for this class
|
| -RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager()
|
| - : enabled_(false) {
|
| +RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager() {
|
| // Decide which resource types to check. These two are the minimum.
|
| resource_types_to_check_.insert(content::RESOURCE_TYPE_MAIN_FRAME);
|
| resource_types_to_check_.insert(content::RESOURCE_TYPE_SUB_FRAME);
|
| @@ -280,7 +279,6 @@ void RemoteSafeBrowsingDatabaseManager::StartOnIOThread(
|
| const V4ProtocolConfig& config) {
|
| VLOG(1) << "RemoteSafeBrowsingDatabaseManager starting";
|
| SafeBrowsingDatabaseManager::StartOnIOThread(request_context_getter, config);
|
| - enabled_ = true;
|
| }
|
|
|
| void RemoteSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
|
| @@ -295,7 +293,6 @@ void RemoteSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
|
| DVLOG(1) << "Stopping: Invoking unfinished req for URL " << req->url();
|
| req->OnRequestDone(SB_THREAT_TYPE_SAFE, ThreatMetadata());
|
| }
|
| - enabled_ = false;
|
|
|
| SafeBrowsingDatabaseManager::StopOnIOThread(shutdown);
|
| }
|
|
|