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

Unified Diff: components/safe_browsing/common/safebrowsing_constants.h

Issue 2932703003: Plumbing for safe browsing reporting for Android WebView. (Closed)
Patch Set: modify client name to android_webview Created 3 years, 6 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
Index: components/safe_browsing/common/safebrowsing_constants.h
diff --git a/components/safe_browsing/common/safebrowsing_constants.h b/components/safe_browsing/common/safebrowsing_constants.h
index e6776b56274234df68aa9a2550a84a11e76b2bcd..598352e39976b14536fb3b1f46a60f10d879d710 100644
--- a/components/safe_browsing/common/safebrowsing_constants.h
+++ b/components/safe_browsing/common/safebrowsing_constants.h
@@ -14,6 +14,21 @@ extern const base::FilePath::CharType kSafeBrowsingBaseFilename[];
// Filename suffix for the cookie database.
extern const base::FilePath::CharType kCookiesFile[];
extern const base::FilePath::CharType kChannelIDFile[];
+
+// The default URL prefix where browser fetches chunk updates, hashes,
+// and reports safe browsing hits and malware details.
+extern const char kSbDefaultURLPrefix[];
+
+// The backup URL prefix used when there are issues establishing a connection
+// with the server at the primary URL.
+extern const char kSbBackupConnectErrorURLPrefix[];
+
+// The backup URL prefix used when there are HTTP-specific issues with the
+// server at the primary URL.
+extern const char kSbBackupHttpErrorURLPrefix[];
+
+// The backup URL prefix used when there are local network specific issues.
+extern const char kSbBackupNetworkErrorURLPrefix[];
}
#endif // COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | components/safe_browsing/common/safebrowsing_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698