| Index: components/safe_browsing/common/safebrowsing_constants.cc
|
| diff --git a/components/safe_browsing/common/safebrowsing_constants.cc b/components/safe_browsing/common/safebrowsing_constants.cc
|
| index 22e6de0cdf396302a3b3680b4672685365b701e6..65c2b54bb0e9b571bbb0ef276692226f6b584523 100644
|
| --- a/components/safe_browsing/common/safebrowsing_constants.cc
|
| +++ b/components/safe_browsing/common/safebrowsing_constants.cc
|
| @@ -13,4 +13,23 @@ const base::FilePath::CharType kCookiesFile[] = FILE_PATH_LITERAL(" Cookies");
|
| const base::FilePath::CharType kChannelIDFile[] =
|
| FILE_PATH_LITERAL(" Channel IDs");
|
|
|
| +// The default URL prefix where browser fetches chunk updates, hashes,
|
| +// and reports safe browsing hits and malware details.
|
| +const char kSbDefaultURLPrefix[] =
|
| + "https://safebrowsing.google.com/safebrowsing";
|
| +
|
| +// The backup URL prefix used when there are issues establishing a connection
|
| +// with the server at the primary URL.
|
| +const char kSbBackupConnectErrorURLPrefix[] =
|
| + "https://alt1-safebrowsing.google.com/safebrowsing";
|
| +
|
| +// The backup URL prefix used when there are HTTP-specific issues with the
|
| +// server at the primary URL.
|
| +const char kSbBackupHttpErrorURLPrefix[] =
|
| + "https://alt2-safebrowsing.google.com/safebrowsing";
|
| +
|
| +// The backup URL prefix used when there are local network specific issues.
|
| +const char kSbBackupNetworkErrorURLPrefix[] =
|
| + "https://alt3-safebrowsing.google.com/safebrowsing";
|
| +
|
| } // namespace safe_browsing
|
|
|