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

Unified Diff: components/safe_browsing_db/v4_database.h

Issue 2103693002: SafeBrowsing PVer4: Send mutable response to the database and the stores (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_ReadFromDisk
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_database.h
diff --git a/components/safe_browsing_db/v4_database.h b/components/safe_browsing_db/v4_database.h
index 7d09ff72566b41e588d6bd75a2603f025b2d46f3..af252a36f213a8703d93421ee9625fc12d965332 100644
--- a/components/safe_browsing_db/v4_database.h
+++ b/components/safe_browsing_db/v4_database.h
@@ -68,7 +68,7 @@ class V4Database {
// Updates the stores with the response received from the SafeBrowsing service
// and calls the db_updated_callback when done.
- void ApplyUpdate(const std::vector<ListUpdateResponse>& response,
+ void ApplyUpdate(std::unique_ptr<ParsedServerResponse> parsed_server_response,
DatabaseUpdatedCallback db_updated_callback);
// Returns the current state of each of the stores being managed.
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_database.cc » ('j') | components/safe_browsing_db/v4_database.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698