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

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

Issue 1970823002: Remove the unused OffDomainInclusionDetector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits Created 4 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
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/remote_database_manager.h" 5 #include "components/safe_browsing_db/remote_database_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 NOTREACHED(); 200 NOTREACHED();
201 return true; 201 return true;
202 } 202 }
203 203
204 bool RemoteSafeBrowsingDatabaseManager::MatchDownloadWhitelistString( 204 bool RemoteSafeBrowsingDatabaseManager::MatchDownloadWhitelistString(
205 const std::string& str) { 205 const std::string& str) {
206 NOTREACHED(); 206 NOTREACHED();
207 return true; 207 return true;
208 } 208 }
209 209
210 bool RemoteSafeBrowsingDatabaseManager::MatchInclusionWhitelistUrl(
211 const GURL& url) {
212 NOTREACHED();
213 return true;
214 }
215
216 bool RemoteSafeBrowsingDatabaseManager::MatchModuleWhitelistString( 210 bool RemoteSafeBrowsingDatabaseManager::MatchModuleWhitelistString(
217 const std::string& str) { 211 const std::string& str) {
218 NOTREACHED(); 212 NOTREACHED();
219 return true; 213 return true;
220 } 214 }
221 215
222 bool RemoteSafeBrowsingDatabaseManager::CheckResourceUrl(const GURL& url, 216 bool RemoteSafeBrowsingDatabaseManager::CheckResourceUrl(const GURL& url,
223 Client* client) { 217 Client* client) {
224 NOTREACHED(); 218 NOTREACHED();
225 return true; 219 return true;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 for (auto req : to_callback) { 294 for (auto req : to_callback) {
301 DVLOG(1) << "Stopping: Invoking unfinished req for URL " << req->url(); 295 DVLOG(1) << "Stopping: Invoking unfinished req for URL " << req->url();
302 req->OnRequestDone(SB_THREAT_TYPE_SAFE, ThreatMetadata()); 296 req->OnRequestDone(SB_THREAT_TYPE_SAFE, ThreatMetadata());
303 } 297 }
304 enabled_ = false; 298 enabled_ = false;
305 299
306 SafeBrowsingDatabaseManager::StopOnIOThread(shutdown); 300 SafeBrowsingDatabaseManager::StopOnIOThread(shutdown);
307 } 301 }
308 302
309 } // namespace safe_browsing 303 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « components/safe_browsing_db/remote_database_manager.h ('k') | components/safe_browsing_db/test_database_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698