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

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

Issue 7189074: Send the referral URL with the client-side phishing detection request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Brian's comments. Created 9 years, 6 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/client_side_detection_host_unittest.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // The version number of the model that was used to compute the client-score. 47 // The version number of the model that was used to compute the client-score.
48 // Copied from ClientSideModel.version(). 48 // Copied from ClientSideModel.version().
49 optional int32 model_version = 6; 49 optional int32 model_version = 6;
50 50
51 // Field 7 is only used on the server. 51 // Field 7 is only used on the server.
52 52
53 // List of features that are extracted in the client but are not used in the 53 // List of features that are extracted in the client but are not used in the
54 // machine learning model. 54 // machine learning model.
55 repeated Feature non_model_feature_map = 8; 55 repeated Feature non_model_feature_map = 8;
56
57 // The referrer URL. This field might not be set, for example, in the case
58 // where the referrer uses HTTPs.
59 optional string referrer_url = 9;
56 } 60 }
57 61
58 message ClientPhishingResponse { 62 message ClientPhishingResponse {
59 required bool phishy = 1; 63 required bool phishy = 1;
60 } 64 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_host_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698