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

Side by Side Diff: components/safe_browsing/common/safebrowsing_constants.cc

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
« no previous file with comments | « components/safe_browsing/common/safebrowsing_constants.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "components/safe_browsing/common/safebrowsing_constants.h" 5 #include "components/safe_browsing/common/safebrowsing_constants.h"
6 6
7 namespace safe_browsing { 7 namespace safe_browsing {
8 8
9 const base::FilePath::CharType kSafeBrowsingBaseFilename[] = 9 const base::FilePath::CharType kSafeBrowsingBaseFilename[] =
10 FILE_PATH_LITERAL("Safe Browsing"); 10 FILE_PATH_LITERAL("Safe Browsing");
11 11
12 const base::FilePath::CharType kCookiesFile[] = FILE_PATH_LITERAL(" Cookies"); 12 const base::FilePath::CharType kCookiesFile[] = FILE_PATH_LITERAL(" Cookies");
13 const base::FilePath::CharType kChannelIDFile[] = 13 const base::FilePath::CharType kChannelIDFile[] =
14 FILE_PATH_LITERAL(" Channel IDs"); 14 FILE_PATH_LITERAL(" Channel IDs");
15 15
16 // The default URL prefix where browser fetches chunk updates, hashes,
17 // and reports safe browsing hits and malware details.
18 const char kSbDefaultURLPrefix[] =
19 "https://safebrowsing.google.com/safebrowsing";
20
21 // The backup URL prefix used when there are issues establishing a connection
22 // with the server at the primary URL.
23 const char kSbBackupConnectErrorURLPrefix[] =
24 "https://alt1-safebrowsing.google.com/safebrowsing";
25
26 // The backup URL prefix used when there are HTTP-specific issues with the
27 // server at the primary URL.
28 const char kSbBackupHttpErrorURLPrefix[] =
29 "https://alt2-safebrowsing.google.com/safebrowsing";
30
31 // The backup URL prefix used when there are local network specific issues.
32 const char kSbBackupNetworkErrorURLPrefix[] =
33 "https://alt3-safebrowsing.google.com/safebrowsing";
34
16 } // namespace safe_browsing 35 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « components/safe_browsing/common/safebrowsing_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698