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

Side by Side Diff: chrome/browser/safe_browsing/test_database_manager.cc

Issue 1110723002: Split to SafeBrowsingDatabaseManager into Local* and Remote*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to review. Tweak comments and list initializer. Created 5 years, 7 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/safe_browsing/test_database_manager.h"
6
7 #include <set>
8 #include <string>
9 #include <vector>
10
11 #include "base/logging.h"
12
13 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const {
14 NOTIMPLEMENTED();
15 return false;
16 }
17
18 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const {
19 NOTIMPLEMENTED();
20 return false;
21 }
22
23 bool TestSafeBrowsingDatabaseManager::CheckBrowseUrl(const GURL& url,
24 Client* client) {
25 NOTIMPLEMENTED();
26 return true;
27 }
28
29 bool TestSafeBrowsingDatabaseManager::CheckDownloadUrl(
30 const std::vector<GURL>& url_chain,
31 Client* client) {
32 NOTIMPLEMENTED();
33 return true;
34 }
35
36 bool TestSafeBrowsingDatabaseManager::CheckExtensionIDs(
37 const std::set<std::string>& extension_ids,
38 Client* client) {
39 NOTIMPLEMENTED();
40 return true;
41 }
42
43 bool TestSafeBrowsingDatabaseManager::MatchCsdWhitelistUrl(const GURL& url) {
44 NOTIMPLEMENTED();
45 return true;
46 }
47
48 bool TestSafeBrowsingDatabaseManager::MatchMalwareIP(
49 const std::string& ip_address) {
50 NOTIMPLEMENTED();
51 return true;
52 }
53
54 bool TestSafeBrowsingDatabaseManager::MatchDownloadWhitelistUrl(
55 const GURL& url) {
56 NOTIMPLEMENTED();
57 return true;
58 }
59
60 bool TestSafeBrowsingDatabaseManager::MatchDownloadWhitelistString(
61 const std::string& str) {
62 NOTIMPLEMENTED();
63 return true;
64 }
65
66 bool TestSafeBrowsingDatabaseManager::MatchInclusionWhitelistUrl(
67 const GURL& url) {
68 NOTIMPLEMENTED();
69 return true;
70 }
71
72 bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() {
73 NOTIMPLEMENTED();
74 return false;
75 }
76
77 bool TestSafeBrowsingDatabaseManager::IsCsdWhitelistKillSwitchOn() {
78 NOTIMPLEMENTED();
79 return false;
80 }
81
82 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) {
83 NOTIMPLEMENTED();
84 }
85
86 void TestSafeBrowsingDatabaseManager::StartOnIOThread() {
87 }
88
89 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698