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

Unified Diff: components/safe_browsing_db/v4_update_protocol_manager.cc

Issue 2241863004: Enable support for Rice encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_checksum_errors
Patch Set: Remove TODO. Update test to expect RICE as supported compression. Created 4 years, 4 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 | « no previous file | components/safe_browsing_db/v4_update_protocol_manager_unittest.cc » ('j') | 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 ab2142f6a61343701b58fbfbb4a2dbed6d8f5e62..69458fc860e667aab5574f442fe91f4cc9b4caca 100644
--- a/components/safe_browsing_db/v4_update_protocol_manager.cc
+++ b/components/safe_browsing_db/v4_update_protocol_manager.cc
@@ -212,9 +212,9 @@ std::string V4UpdateProtocolManager::GetBase64SerializedUpdateRequestProto(
list_update_request->set_state(state);
}
- // TODO(vakh): Accept other compression formats also.
- // See: https://bugs.chromium.org/p/chromium/issues/detail?id=624567
list_update_request->mutable_constraints()->add_supported_compressions(RAW);
+ list_update_request->mutable_constraints()->add_supported_compressions(
+ RICE);
}
// Serialize and Base64 encode.
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_update_protocol_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698