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

Unified Diff: components/safe_browsing_db/v4_update_protocol_manager.h

Issue 2090593003: Small: Use WebBase64/UrlBase64 encoding for requests sent to the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_UpdateDbAndStores
Patch Set: Created 4 years, 6 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
Index: components/safe_browsing_db/v4_update_protocol_manager.h
diff --git a/components/safe_browsing_db/v4_update_protocol_manager.h b/components/safe_browsing_db/v4_update_protocol_manager.h
index a5b73ad67404cd13bbebc13b6ebde197057574e9..dc342d39a2d2759ea323f312b62e6ca49992fae3 100644
--- a/components/safe_browsing_db/v4_update_protocol_manager.h
+++ b/components/safe_browsing_db/v4_update_protocol_manager.h
@@ -96,8 +96,8 @@ class V4UpdateProtocolManager : public net::URLFetcherDelegate,
net::HttpRequestHeaders* headers) const;
// Fills a FetchThreatListUpdatesRequest protocol buffer for a request.
- // Returns the serialized and base 64 encoded request as a string.
- static std::string GetBase64SerializedUpdateRequestProto(
+ // Returns the serialized and base64 URL encoded request as a string.
+ static std::string GetWebBase64SerializedUpdateRequestProto(
const StoreStateMap* store_state_map);
// Parses the base64 encoded response received from the server as a

Powered by Google App Engine
This is Rietveld 408576698