From 42d04060238a84c44ed01a5b20150ffd98f32880 Mon Sep 17 00:00:00 2001 From: "noelutz@google.com" Date: Thu, 9 Aug 2012 17:03:35 +0000 Subject: Sync the client (Chrome) version of the SafeBrowsing csd protocol buffer definition with the version we have on the server. This change adds a couple of fields which will be used by Chrome on Android to display custom SafeBrowsing warnings. BUG=None Review URL: https://chromiumcodereview.appspot.com/10827231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150821 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/safe_browsing/csd.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/chrome/common/safe_browsing/csd.proto b/chrome/common/safe_browsing/csd.proto index 853b164..bb6b75f 100644 --- a/chrome/common/safe_browsing/csd.proto +++ b/chrome/common/safe_browsing/csd.proto @@ -172,6 +172,9 @@ message ClientDownloadRequest { ZIPPED_EXECUTABLE = 3; } optional DownloadType download_type = 10 [default = WIN_EXECUTABLE]; + + // Locale of the device, eg en, en_US. + optional string locale = 11; } message ClientDownloadResponse { @@ -183,6 +186,18 @@ message ClientDownloadResponse { DANGEROUS = 1; // Download is unknown. Chrome should display a less severe warning. UNCOMMON = 2; + // The download is potentially unwanted. + POTENTIALLY_UNWANTED = 3; } required Verdict verdict = 1; + + message MoreInfo { + // A human-readable string describing the nature of the warning. + // Only if verdict != SAFE. Localized based on request.locale. + optional string description = 1; + + // A URL to get more information about this warning, if available. + optional string url = 2; + } + optional MoreInfo more_info = 2; } -- cgit v1.1