| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |