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

Unified Diff: components/safe_browsing/csd.proto

Issue 2747313002: PasswordProtectionService verdict cache management (Closed)
Patch Set: Cache verdict based on hostname Created 3 years, 9 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/csd.proto
diff --git a/components/safe_browsing/csd.proto b/components/safe_browsing/csd.proto
index 3da6cd68b6910c2aa23409cb029644c8104017da..eb2d75e932b54bd998d0f4449013e94fdd3b3955 100644
--- a/components/safe_browsing/csd.proto
+++ b/components/safe_browsing/csd.proto
@@ -247,6 +247,20 @@ message LoginReputationClientResponse {
// The pattern will always match the page_url of the request, and will be
// a substring of page_url.
optional string cache_expression = 3;
+
+ // If set true, we match target URL with cache expression up to both of their
+ // last /'s.
+ //
+ // Examples:
+ // If set true, a cache_expression "foo.com/bar" will match
+ // "foo.com/bar",
+ // "foo.com/bar/bar.cgi",
+ // "foo.com/bar/login.html?param=val",
+ // but will NOT match
+ // "foo.com",
+ // "foo.com/abc/",
+ // "foo.com/bar/abc/edf.cgi"
+ optional bool cache_expression_exact_match = 4;
}
message ClientMalwareResponse {

Powered by Google App Engine
This is Rietveld 408576698