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

Side by Side Diff: components/safe_browsing/csd.proto

Issue 2813063003: Deprecate cache_expression_exact_match (Closed)
Patch Set: refine deprecated field Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/safe_browsing/password_protection/password_protection_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This proto file includes: 5 // This proto file includes:
6 // (1) Client side phishing and malware detection request and response 6 // (1) Client side phishing and malware detection request and response
7 // protocol buffers. Those protocol messages should be kept in sync 7 // protocol buffers. Those protocol messages should be kept in sync
8 // with the server implementation. 8 // with the server implementation.
9 // 9 //
10 // (2) Safe Browsing reporting protocol buffers. 10 // (2) Safe Browsing reporting protocol buffers.
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // 241 //
242 // Examples: 242 // Examples:
243 // www.google.com/foo/bar?param=val -> google.com 243 // www.google.com/foo/bar?param=val -> google.com
244 // www.geocities.com/foo/bar.html -> geocities.com/foo 244 // www.geocities.com/foo/bar.html -> geocities.com/foo
245 // adwords.blogspot.com/index.html -> adwords.blogspot.com 245 // adwords.blogspot.com/index.html -> adwords.blogspot.com
246 // 246 //
247 // The pattern will always match the page_url of the request, and will be 247 // The pattern will always match the page_url of the request, and will be
248 // a substring of page_url. 248 // a substring of page_url.
249 optional string cache_expression = 3; 249 optional string cache_expression = 3;
250 250
251 // If set true, we match target URL with cache expression up to both of their 251 // Deprecated.
252 // last /'s. 252 optional bool DEPRECATED_cache_expression_exact_match = 4 [deprecated = true];
253 //
254 // Examples:
255 // If set true, a cache_expression "foo.com/bar" will match
256 // "foo.com/bar",
257 // "foo.com/bar/bar.cgi",
258 // "foo.com/bar/login.html?param=val",
259 // but will NOT match
260 // "foo.com",
261 // "foo.com/abc/",
262 // "foo.com/bar/abc/edf.cgi"
263 optional bool cache_expression_exact_match = 4;
264 } 253 }
265 254
266 message ClientMalwareResponse { 255 message ClientMalwareResponse {
267 required bool blacklist = 1; 256 required bool blacklist = 1;
268 // The confirmed blacklisted bad IP and its url, which will be shown in 257 // The confirmed blacklisted bad IP and its url, which will be shown in
269 // malware warning, if the blacklist verdict is true. 258 // malware warning, if the blacklist verdict is true.
270 // This IP string could be either in IPv4 or IPv6 format, which is the same 259 // This IP string could be either in IPv4 or IPv6 format, which is the same
271 // as the ones client sent to server. 260 // as the ones client sent to server.
272 optional string bad_ip = 2; 261 optional string bad_ip = 2;
273 optional string bad_url = 3; 262 optional string bad_url = 3;
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 // There is no response (an empty body) to this request. 1023 // There is no response (an empty body) to this request.
1035 message NotificationImageReportRequest { 1024 message NotificationImageReportRequest {
1036 optional string notification_origin = 1; // Src-origin of the notification. 1025 optional string notification_origin = 1; // Src-origin of the notification.
1037 optional ImageData image = 2; // The bitmap of the image. 1026 optional ImageData image = 2; // The bitmap of the image.
1038 1027
1039 // Note that the image URL is deliberately omitted as it would be untrusted, 1028 // Note that the image URL is deliberately omitted as it would be untrusted,
1040 // since the notification image fetch may be intercepted by a Service Worker 1029 // since the notification image fetch may be intercepted by a Service Worker
1041 // (even if the image URL is cross-origin). Otherwise a website could mislead 1030 // (even if the image URL is cross-origin). Otherwise a website could mislead
1042 // Safe Browsing into associating phishing image bitmaps with safe image URLs. 1031 // Safe Browsing into associating phishing image bitmaps with safe image URLs.
1043 } 1032 }
OLDNEW
« no previous file with comments | « no previous file | components/safe_browsing/password_protection/password_protection_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698