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

Unified Diff: components/safe_browsing_db/safebrowsing.proto

Issue 1543153002: Add a GetFullHashWithApis method to Protocol Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review Comments Created 5 years 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
Index: components/safe_browsing_db/safebrowsing.proto
diff --git a/components/safe_browsing_db/safebrowsing.proto b/components/safe_browsing_db/safebrowsing.proto
index 89b9f6d8d534f122479649e8bd3413e11baea5fb..6fe0f53c8abf3202937b2d4787328f0d8a2f9866 100644
--- a/components/safe_browsing_db/safebrowsing.proto
+++ b/components/safe_browsing_db/safebrowsing.proto
@@ -251,7 +251,7 @@ enum ThreatType {
THREAT_TYPE_UNSPECIFIED = 0;
// Malware threat type.
- MALWARE = 1;
+ MALWARE_THREAT = 1;
// Social engineering threat type.
SOCIAL_ENGINEERING_PUBLIC = 2;
@@ -275,10 +275,10 @@ enum PlatformType {
PLATFORM_TYPE_UNSPECIFIED = 0;
// Threat posed to Windows.
- WINDOWS = 1;
+ WINDOWS_PLATFORM = 1;
// Threat posed to Linux.
- LINUX = 2;
+ LINUX_PLATFORM = 2;
// Threat posed to Android.
// This cannot be ANDROID because that symbol is defined for android builds
@@ -286,10 +286,10 @@ enum PlatformType {
ANDROID_PLATFORM = 3;
// Threat posed to OSX.
- OSX = 4;
+ OSX_PLATFORM = 4;
// Threat posed to iOS.
- IOS = 5;
+ IOS_PLATFORM = 5;
// Threat posed to at least one of the defined platforms.
ANY_PLATFORM = 6;
@@ -298,7 +298,7 @@ enum PlatformType {
ALL_PLATFORMS = 7;
// Threat posed to Chrome.
- CHROME = 8;
+ CHROME_PLATFORM = 8;
}
// The client metadata associated with Safe Browsing API requests.

Powered by Google App Engine
This is Rietveld 408576698