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

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

Issue 12087095: Sync csd.proto with server-side version. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing comma Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 enum Verdict { 188 enum Verdict {
189 // Download is considered safe. 189 // Download is considered safe.
190 SAFE = 0; 190 SAFE = 0;
191 // Download is considered dangerous. Chrome should show a warning to the 191 // Download is considered dangerous. Chrome should show a warning to the
192 // user. 192 // user.
193 DANGEROUS = 1; 193 DANGEROUS = 1;
194 // Download is unknown. Chrome should display a less severe warning. 194 // Download is unknown. Chrome should display a less severe warning.
195 UNCOMMON = 2; 195 UNCOMMON = 2;
196 // The download is potentially unwanted. 196 // The download is potentially unwanted.
197 POTENTIALLY_UNWANTED = 3; 197 POTENTIALLY_UNWANTED = 3;
198 // The download is from a dangerous host.
199 DANGEROUS_HOST = 4;
198 } 200 }
199 required Verdict verdict = 1; 201 required Verdict verdict = 1;
200 202
201 message MoreInfo { 203 message MoreInfo {
202 // A human-readable string describing the nature of the warning. 204 // A human-readable string describing the nature of the warning.
203 // Only if verdict != SAFE. Localized based on request.locale. 205 // Only if verdict != SAFE. Localized based on request.locale.
204 optional string description = 1; 206 optional string description = 1;
205 207
206 // A URL to get more information about this warning, if available. 208 // A URL to get more information about this warning, if available.
207 optional string url = 2; 209 optional string url = 2;
(...skipping 27 matching lines...) Expand all
235 237
236 // Stores the information of the user who provided the feedback. 238 // Stores the information of the user who provided the feedback.
237 optional UserInformation user_information = 3; 239 optional UserInformation user_information = 3;
238 240
239 // Unstructed comments provided by the user. 241 // Unstructed comments provided by the user.
240 optional bytes comment = 4; 242 optional bytes comment = 4;
241 243
242 // The original download response sent from the verdict server. 244 // The original download response sent from the verdict server.
243 optional ClientDownloadResponse download_response = 5; 245 optional ClientDownloadResponse download_response = 5;
244 } 246 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/downloads.idl ('k') | content/browser/download/download_item_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698