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

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

Issue 1410853003: [Safe Browsing] Only check main frame and iframe URLs on Mobile, for speed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rm unecessary thread restriction that interferes with tests Created 5 years, 2 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 | « chrome/browser/safe_browsing/test_database_manager.h ('k') | chrome/chrome_tests_unit.gypi » ('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 "chrome/browser/safe_browsing/test_database_manager.h" 5 #include "chrome/browser/safe_browsing/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
11 #include "base/logging.h" 11 #include "base/logging.h"
12 12
13 bool TestSafeBrowsingDatabaseManager::IsSupported() const { 13 bool TestSafeBrowsingDatabaseManager::IsSupported() const {
14 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
15 return false; 15 return false;
16 } 16 }
17 17
18 bool TestSafeBrowsingDatabaseManager::ChecksAreAlwaysAsync() const {
19 NOTIMPLEMENTED();
20 return false;
21 }
22
23 bool TestSafeBrowsingDatabaseManager::CanCheckResourceType(
24 content::ResourceType resource_type) const {
25 NOTIMPLEMENTED();
26 return false;
27 }
28
18 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const { 29 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const {
19 NOTIMPLEMENTED(); 30 NOTIMPLEMENTED();
20 return false; 31 return false;
21 } 32 }
22 33
23 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const { 34 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const {
24 NOTIMPLEMENTED(); 35 NOTIMPLEMENTED();
25 return false; 36 return false;
26 } 37 }
27 38
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 97
87 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { 98 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) {
88 NOTIMPLEMENTED(); 99 NOTIMPLEMENTED();
89 } 100 }
90 101
91 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { 102 void TestSafeBrowsingDatabaseManager::StartOnIOThread() {
92 } 103 }
93 104
94 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { 105 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
95 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/test_database_manager.h ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698