| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 25 matching lines...) Expand all Loading... |
| 36 required string name = 1; | 36 required string name = 1; |
| 37 | 37 |
| 38 // Feature value is always in the range [0.0, 1.0]. Boolean features | 38 // Feature value is always in the range [0.0, 1.0]. Boolean features |
| 39 // have value 1.0. | 39 // have value 1.0. |
| 40 required double value = 2; | 40 required double value = 2; |
| 41 } | 41 } |
| 42 | 42 |
| 43 // List of features that were extracted. Those are the features that were | 43 // List of features that were extracted. Those are the features that were |
| 44 // sent to the scorer and which resulted in client_score being computed. | 44 // sent to the scorer and which resulted in client_score being computed. |
| 45 repeated Feature feature_map = 5; | 45 repeated Feature feature_map = 5; |
| 46 |
| 47 // List of features that are extracted in the client but are not used in the |
| 48 // machine learning model. |
| 49 repeated Feature non_model_feature_map = 8; |
| 50 |
| 46 } | 51 } |
| 47 | 52 |
| 48 message ClientPhishingResponse { | 53 message ClientPhishingResponse { |
| 49 required bool phishy = 1; | 54 required bool phishy = 1; |
| 50 } | 55 } |
| OLD | NEW |