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

Side by Side Diff: components/safe_browsing_db/v4_local_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 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_db/v4_local_database_manager.h" 5 #include "components/safe_browsing_db/v4_local_database_manager.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "components/safe_browsing_db/safebrowsing.pb.h" 9 #include "components/safe_browsing_db/safebrowsing.pb.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 return true; 82 return true;
83 } 83 }
84 84
85 bool V4LocalDatabaseManager::MatchDownloadWhitelistString( 85 bool V4LocalDatabaseManager::MatchDownloadWhitelistString(
86 const std::string& str) { 86 const std::string& str) {
87 // TODO(vakh): Implement this skeleton. 87 // TODO(vakh): Implement this skeleton.
88 DCHECK_CURRENTLY_ON(BrowserThread::IO); 88 DCHECK_CURRENTLY_ON(BrowserThread::IO);
89 return true; 89 return true;
90 } 90 }
91 91
92 bool V4LocalDatabaseManager::MatchInclusionWhitelistUrl(const GURL& url) {
93 // TODO(vakh): Implement this skeleton.
94 DCHECK_CURRENTLY_ON(BrowserThread::IO);
95 return true;
96 }
97
98 bool V4LocalDatabaseManager::MatchModuleWhitelistString( 92 bool V4LocalDatabaseManager::MatchModuleWhitelistString(
99 const std::string& str) { 93 const std::string& str) {
100 // TODO(vakh): Implement this skeleton. 94 // TODO(vakh): Implement this skeleton.
101 DCHECK_CURRENTLY_ON(BrowserThread::IO); 95 DCHECK_CURRENTLY_ON(BrowserThread::IO);
102 return true; 96 return true;
103 } 97 }
104 98
105 bool V4LocalDatabaseManager::CheckResourceUrl(const GURL& url, Client* client) { 99 bool V4LocalDatabaseManager::CheckResourceUrl(const GURL& url, Client* client) {
106 // TODO(vakh): Implement this skeleton. 100 // TODO(vakh): Implement this skeleton.
107 DCHECK_CURRENTLY_ON(BrowserThread::IO); 101 DCHECK_CURRENTLY_ON(BrowserThread::IO);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 enabled_ = false; 171 enabled_ = false;
178 SafeBrowsingDatabaseManager::StopOnIOThread(shutdown); 172 SafeBrowsingDatabaseManager::StopOnIOThread(shutdown);
179 } 173 }
180 174
181 void V4LocalDatabaseManager::UpdateRequestCompleted( 175 void V4LocalDatabaseManager::UpdateRequestCompleted(
182 const std::vector<ListUpdateResponse>& responses) { 176 const std::vector<ListUpdateResponse>& responses) {
183 // TODO(vakh): Updates downloaded. Store them on disk and record new state. 177 // TODO(vakh): Updates downloaded. Store them on disk and record new state.
184 } 178 }
185 179
186 } // namespace safe_browsing 180 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « components/safe_browsing_db/v4_local_database_manager.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698