summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authornoelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 03:29:11 +0000
committernoelutz@google.com <noelutz@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-03 03:29:11 +0000
commitfc2890a6a7422ec423e20009f5d4cb7da05b27bc (patch)
treef7e2c9e0c4c603d340cecc89ffddc5013a6c37e5 /chrome/common
parent6c83124a80629525c9aad8a38b6e1a3a5a328604 (diff)
downloadchromium_src-fc2890a6a7422ec423e20009f5d4cb7da05b27bc.zip
chromium_src-fc2890a6a7422ec423e20009f5d4cb7da05b27bc.tar.gz
chromium_src-fc2890a6a7422ec423e20009f5d4cb7da05b27bc.tar.bz2
Parse the SafeBrowsing download protection server response.
BUG=102540 TEST=run DownloadProtectionServiceTest::CheckClientDownloadSuccess. Doesn't current have any visible side effects. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108315 Review URL: http://codereview.chromium.org/8438012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/safe_browsing/csd.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/safe_browsing/csd.proto b/chrome/common/safe_browsing/csd.proto
index 1811c76..a95bad8 100644
--- a/chrome/common/safe_browsing/csd.proto
+++ b/chrome/common/safe_browsing/csd.proto
@@ -146,3 +146,14 @@ message ClientDownloadRequest {
// True if the download was user initiated.
optional bool user_initiated = 6;
}
+
+message ClientDownloadResponse {
+ enum Verdict {
+ // Download is considered safe.
+ SAFE = 0;
+ // Download is considered dangerous. Chrome should show a warning to the
+ // user.
+ DANGEROUS = 1;
+ }
+ required Verdict verdict = 1;
+}