| 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 47d80627032d99d07ce09c2949da84c324a506fb..9b93cae9c5e871f178bcad44570a534e10761fcb 100644
|
| --- a/components/safe_browsing_db/remote_database_manager.cc
|
| +++ b/components/safe_browsing_db/remote_database_manager.cc
|
| @@ -5,7 +5,7 @@
|
| #include "components/safe_browsing_db/remote_database_manager.h"
|
|
|
| #include <vector>
|
| -
|
| +#include "base/trace_event/trace_event.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| @@ -139,6 +139,10 @@ RemoteSafeBrowsingDatabaseManager::RemoteSafeBrowsingDatabaseManager()
|
| }
|
|
|
| RemoteSafeBrowsingDatabaseManager::~RemoteSafeBrowsingDatabaseManager() {
|
| + TRACE_EVENT0(
|
| + "toplevel",
|
| + "RemoteSafeBrowsingDatabaseManager::~RemoteSafeBrowsingDatabaseManager");
|
| +
|
| DCHECK(!enabled_);
|
| }
|
|
|
| @@ -236,6 +240,7 @@ bool RemoteSafeBrowsingDatabaseManager::IsCsdWhitelistKillSwitchOn() {
|
|
|
| bool RemoteSafeBrowsingDatabaseManager::CheckBrowseUrl(const GURL& url,
|
| Client* client) {
|
| + TRACE_EVENT0("toplevel", "RemoteSafeBrowsingDatabaseManager::CheckBrowseUrl");
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
| if (!enabled_)
|
| return true;
|
|
|