OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ | 5 #ifndef COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ |
6 #define COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ | 6 #define COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 | 9 |
10 namespace safe_browsing { | 10 namespace safe_browsing { |
11 | 11 |
12 extern const base::FilePath::CharType kSafeBrowsingBaseFilename[]; | 12 extern const base::FilePath::CharType kSafeBrowsingBaseFilename[]; |
13 | 13 |
14 // Filename suffix for the cookie database. | 14 // Filename suffix for the cookie database. |
15 extern const base::FilePath::CharType kCookiesFile[]; | 15 extern const base::FilePath::CharType kCookiesFile[]; |
16 extern const base::FilePath::CharType kChannelIDFile[]; | 16 extern const base::FilePath::CharType kChannelIDFile[]; |
| 17 |
| 18 // The default URL prefix where browser fetches chunk updates, hashes, |
| 19 // and reports safe browsing hits and malware details. |
| 20 extern const char kSbDefaultURLPrefix[]; |
| 21 |
| 22 // The backup URL prefix used when there are issues establishing a connection |
| 23 // with the server at the primary URL. |
| 24 extern const char kSbBackupConnectErrorURLPrefix[]; |
| 25 |
| 26 // The backup URL prefix used when there are HTTP-specific issues with the |
| 27 // server at the primary URL. |
| 28 extern const char kSbBackupHttpErrorURLPrefix[]; |
| 29 |
| 30 // The backup URL prefix used when there are local network specific issues. |
| 31 extern const char kSbBackupNetworkErrorURLPrefix[]; |
17 } | 32 } |
18 | 33 |
19 #endif // COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ | 34 #endif // COMPONENTS_SAFE_BROWSING_COMMON_SAFEBROWSING_CONSTANTS_H_ |
OLD | NEW |