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

Unified Diff: components/safe_browsing_db/database_manager_unittest.cc

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
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_get_hash_protocol_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/database_manager_unittest.cc
diff --git a/components/safe_browsing_db/database_manager_unittest.cc b/components/safe_browsing_db/database_manager_unittest.cc
index e74af1b3ab21f2acae29aadb3c88b6642fab680f..21338b860122abb969dad64aee19c914c3d5abd5 100644
--- a/components/safe_browsing_db/database_manager_unittest.cc
+++ b/components/safe_browsing_db/database_manager_unittest.cc
@@ -73,7 +73,7 @@ class SafeBrowsingDatabaseManagerTest : public testing::Test {
std::string GetStockV4GetHashResponse() {
ListIdentifier list_id = GetChromeUrlApiId();
- FullHash full_hash = crypto::SHA256HashString("example.com/more");
+ FullHash full_hash = crypto::SHA256HashString("example.com/");
FindFullHashesResponse response;
response.mutable_negative_cache_duration()->set_seconds(600);
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_get_hash_protocol_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698