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

Unified Diff: chrome/common/safe_browsing/csd.proto

Issue 2292963004: Make verdict optional in csd proto. (Closed)
Patch Set: Update the unit test to use SAFE as the default value when encountering an invalid value. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/safe_browsing/download_protection_service_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/safe_browsing/csd.proto
diff --git a/chrome/common/safe_browsing/csd.proto b/chrome/common/safe_browsing/csd.proto
index f2dadfd9d4850d518b2d4b185c35ab58f7de4c01..1eb1eedd69bec640c05b9d4c015a3bc9cf3d2b48 100644
--- a/chrome/common/safe_browsing/csd.proto
+++ b/chrome/common/safe_browsing/csd.proto
@@ -400,7 +400,7 @@ message ClientDownloadResponse {
// Chrome should show the default warning if configured for this file type.
UNKNOWN = 5;
}
- required Verdict verdict = 1;
+ optional Verdict verdict = 1 [default = SAFE];
message MoreInfo {
// A human-readable string describing the nature of the warning.
« no previous file with comments | « chrome/browser/safe_browsing/download_protection_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698