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

Unified Diff: components/safe_browsing_db/v4_get_hash_protocol_manager.h

Issue 2391933002: Safe Browsing: Only check origins for API checks. (Closed)
Patch Set: Created 4 years, 2 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_get_hash_protocol_manager.h
diff --git a/components/safe_browsing_db/v4_get_hash_protocol_manager.h b/components/safe_browsing_db/v4_get_hash_protocol_manager.h
index 44b05d78ca0e9adfd532c3889f378772060f052f..720e09684cb42c8aa55c2007a5e243e5ec893624 100644
--- a/components/safe_browsing_db/v4_get_hash_protocol_manager.h
+++ b/components/safe_browsing_db/v4_get_hash_protocol_manager.h
@@ -165,9 +165,9 @@ class V4GetHashProtocolManager : public net::URLFetcherDelegate,
full_hash_to_matching_hash_prefixes,
FullHashCallback callback);
- // Retrieve the full hash and API metadata for a URL, and invoke the callback
- // argument when the results are retrieved. The callback may be invoked
- // synchronously.
+ // Retrieve the full hash and API metadata for the origin of |url|, and invoke
+ // the callback argument when the results are retrieved. The callback may be
+ // invoked synchronously.
// GetFullHashesWithApis is a special case of GetFullHashes. It is here
// primarily for legacy reasons: so that DatabaseManager, which speaks PVer3,
// and V4LocalDatabaseManager, which speaks PVer4, can both use this class to
« no previous file with comments | « components/safe_browsing_db/database_manager_unittest.cc ('k') | components/safe_browsing_db/v4_get_hash_protocol_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698