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

Side by Side 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 unified diff | Download patch
OLDNEW
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_
OLDNEW
« 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