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

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

Issue 1638223003: Add support for a module whitelist (goog-whitemodule-digest256) to the safe browsing db (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser test 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
« no previous file with comments | « components/safe_browsing_db/test_database_manager.h ('k') | components/safe_browsing_db/util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 NOTIMPLEMENTED(); 86 NOTIMPLEMENTED();
87 return true; 87 return true;
88 } 88 }
89 89
90 bool TestSafeBrowsingDatabaseManager::MatchInclusionWhitelistUrl( 90 bool TestSafeBrowsingDatabaseManager::MatchInclusionWhitelistUrl(
91 const GURL& url) { 91 const GURL& url) {
92 NOTIMPLEMENTED(); 92 NOTIMPLEMENTED();
93 return true; 93 return true;
94 } 94 }
95 95
96 bool TestSafeBrowsingDatabaseManager::MatchModuleWhitelistString(
97 const std::string& str) {
98 NOTIMPLEMENTED();
99 return true;
100 }
101
96 bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() { 102 bool TestSafeBrowsingDatabaseManager::IsMalwareKillSwitchOn() {
97 NOTIMPLEMENTED(); 103 NOTIMPLEMENTED();
98 return false; 104 return false;
99 } 105 }
100 106
101 bool TestSafeBrowsingDatabaseManager::IsCsdWhitelistKillSwitchOn() { 107 bool TestSafeBrowsingDatabaseManager::IsCsdWhitelistKillSwitchOn() {
102 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
103 return false; 109 return false;
104 } 110 }
105 111
106 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { 112 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) {
107 NOTIMPLEMENTED(); 113 NOTIMPLEMENTED();
108 } 114 }
109 115
110 void TestSafeBrowsingDatabaseManager::CheckApiBlacklistUrl(const GURL& url, 116 void TestSafeBrowsingDatabaseManager::CheckApiBlacklistUrl(const GURL& url,
111 Client* client) { 117 Client* client) {
112 NOTIMPLEMENTED(); 118 NOTIMPLEMENTED();
113 } 119 }
114 120
115 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { 121 void TestSafeBrowsingDatabaseManager::StartOnIOThread() {
116 } 122 }
117 123
118 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { 124 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
119 } 125 }
120 126
121 } // namespace safe_browsing 127 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « components/safe_browsing_db/test_database_manager.h ('k') | components/safe_browsing_db/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698