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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 optional bool user_initiated = 6; | 159 optional bool user_initiated = 6; |
160 } | 160 } |
161 | 161 |
162 message ClientDownloadResponse { | 162 message ClientDownloadResponse { |
163 enum Verdict { | 163 enum Verdict { |
164 // Download is considered safe. | 164 // Download is considered safe. |
165 SAFE = 0; | 165 SAFE = 0; |
166 // Download is considered dangerous. Chrome should show a warning to the | 166 // Download is considered dangerous. Chrome should show a warning to the |
167 // user. | 167 // user. |
168 DANGEROUS = 1; | 168 DANGEROUS = 1; |
| 169 // Download is unknown. Chrome should display a less severe warning. |
| 170 UNCOMMON = 2; |
169 } | 171 } |
170 required Verdict verdict = 1; | 172 required Verdict verdict = 1; |
171 } | 173 } |
OLD | NEW |