Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: components/safe_browsing_db/v4_update_protocol_manager.cc

Issue 1932753005: Download Malware blacklist on desktop platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v4_01_enable_v4db
Patch Set: git pull Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/safe_browsing_db/v4_local_database_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/v4_update_protocol_manager.cc
diff --git a/components/safe_browsing_db/v4_update_protocol_manager.cc b/components/safe_browsing_db/v4_update_protocol_manager.cc
index 21305bc59362a9af88e0aeca967942b6c712a9ef..71b4ade0255f1ed5463e88e46b51441365d1021e 100644
--- a/components/safe_browsing_db/v4_update_protocol_manager.cc
+++ b/components/safe_browsing_db/v4_update_protocol_manager.cc
@@ -159,6 +159,8 @@ base::TimeDelta V4UpdateProtocolManager::GetNextUpdateInterval(bool back_off) {
next = V4ProtocolManagerUtil::GetNextBackOffInterval(
&update_error_count_, &update_back_off_mult_);
}
+ DVLOG(1) << "V4UpdateProtocolManager::GetNextUpdateInterval: "
+ << "next_interval: " << next;
return next;
}
@@ -311,8 +313,11 @@ void V4UpdateProtocolManager::OnURLFetchComplete(
GURL V4UpdateProtocolManager::GetUpdateUrl(
const std::string& req_base64) const {
- return V4ProtocolManagerUtil::GetRequestUrl(req_base64, "encodedUpdates",
- config_);
+ GURL url = V4ProtocolManagerUtil::GetRequestUrl(req_base64, "encodedUpdates",
+ config_);
+ DVLOG(1) << "V4UpdateProtocolManager::GetUpdateUrl: "
+ << "url: " << url;
+ return url;
}
} // namespace safe_browsing
« no previous file with comments | « components/safe_browsing_db/v4_local_database_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698