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

Side by Side Diff: chrome/common/safe_browsing/csd.proto

Issue 7792004: Parse the whitelist expressions from the phishing verdict response if (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Brian's comments Created 9 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_util.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Client side phishing and malware detection request and response 5 // Client side phishing and malware detection request and response
6 // protocol buffers. Those protocol messages should be kept in sync 6 // protocol buffers. Those protocol messages should be kept in sync
7 // with the server implementation. 7 // with the server implementation.
8 // 8 //
9 // If you want to change this protocol definition or you have questions 9 // If you want to change this protocol definition or you have questions
10 // regarding its format please contact chrome-anti-phishing@googlegroups.com. 10 // regarding its format please contact chrome-anti-phishing@googlegroups.com.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 repeated Feature non_model_feature_map = 8; 61 repeated Feature non_model_feature_map = 8;
62 62
63 // The referrer URL. This field might not be set, for example, in the case 63 // The referrer URL. This field might not be set, for example, in the case
64 // where the referrer uses HTTPs. 64 // where the referrer uses HTTPs.
65 // OBSOLETE: Use feature 'Referrer=<referrer>' instead. 65 // OBSOLETE: Use feature 'Referrer=<referrer>' instead.
66 optional string OBSOLETE_referrer_url = 9; 66 optional string OBSOLETE_referrer_url = 9;
67 } 67 }
68 68
69 message ClientPhishingResponse { 69 message ClientPhishingResponse {
70 required bool phishy = 1; 70 required bool phishy = 1;
71
72 // A list of SafeBrowsing host-suffix / path-prefix expressions that
73 // are whitelisted. The client must match the current top-level URL
74 // against these whitelisted expressions and only apply a positive
75 // phishing verdict above if the URL does not match any expression
76 // on this whitelist. The client must not cache these whitelisted
77 // expressions. This whitelist will be empty for the vast majority
78 // of the responses but might contain up to 100 entries in emergency
79 // situations.
80 repeated string whitelist_expression = 2;
71 } 81 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698