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

Side by Side Diff: components/safe_browsing_db/test_database_manager.cc

Issue 1673733002: Support new Safe Browsing list "goog-badresource-shavar" in SafeBrowsingDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Post-merge test fix Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 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 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_db/test_database_manager.h" 5 #include "components/safe_browsing_db/test_database_manager.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return true; 57 return true;
58 } 58 }
59 59
60 bool TestSafeBrowsingDatabaseManager::CheckExtensionIDs( 60 bool TestSafeBrowsingDatabaseManager::CheckExtensionIDs(
61 const std::set<std::string>& extension_ids, 61 const std::set<std::string>& extension_ids,
62 Client* client) { 62 Client* client) {
63 NOTIMPLEMENTED(); 63 NOTIMPLEMENTED();
64 return true; 64 return true;
65 } 65 }
66 66
67 bool TestSafeBrowsingDatabaseManager::CheckResourceUrl(const GURL& url,
68 Client* client) {
69 NOTIMPLEMENTED();
70 return true;
71 }
72
67 bool TestSafeBrowsingDatabaseManager::MatchCsdWhitelistUrl(const GURL& url) { 73 bool TestSafeBrowsingDatabaseManager::MatchCsdWhitelistUrl(const GURL& url) {
68 NOTIMPLEMENTED(); 74 NOTIMPLEMENTED();
69 return true; 75 return true;
70 } 76 }
71 77
72 bool TestSafeBrowsingDatabaseManager::MatchMalwareIP( 78 bool TestSafeBrowsingDatabaseManager::MatchMalwareIP(
73 const std::string& ip_address) { 79 const std::string& ip_address) {
74 NOTIMPLEMENTED(); 80 NOTIMPLEMENTED();
75 return true; 81 return true;
76 } 82 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
119 } 125 }
120 126
121 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { 127 void TestSafeBrowsingDatabaseManager::StartOnIOThread() {
122 } 128 }
123 129
124 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { 130 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
125 } 131 }
126 132
127 } // namespace safe_browsing 133 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698