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 29 matching lines...) Expand all Loading... |
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 | 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 | |
51 // Field 7 is only used on the server. | |
52 | |
53 // List of features that are extracted in the client but are not used in the | |
54 // machine learning model. | |
55 repeated Feature non_model_feature_map = 8; | |
56 } | 50 } |
57 | 51 |
58 message ClientPhishingResponse { | 52 message ClientPhishingResponse { |
59 required bool phishy = 1; | 53 required bool phishy = 1; |
60 } | 54 } |
OLD | NEW |