Commit 42d04060 authored by noelutz@google.com's avatar noelutz@google.com

Sync the client (Chrome) version of the SafeBrowsing csd protocol buffer...

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
parent d2fdac34
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment