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

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

Issue 1343293004: Don't check URLs against Safe Browsing if not supported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: braces, per the thestig Created 5 years, 3 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') | no next file » | 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 {
14 NOTIMPLEMENTED();
15 return false;
16 }
17
13 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const { 18 bool TestSafeBrowsingDatabaseManager::CanCheckUrl(const GURL& url) const {
14 NOTIMPLEMENTED(); 19 NOTIMPLEMENTED();
15 return false; 20 return false;
16 } 21 }
17 22
18 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const { 23 bool TestSafeBrowsingDatabaseManager::download_protection_enabled() const {
19 NOTIMPLEMENTED(); 24 NOTIMPLEMENTED();
20 return false; 25 return false;
21 } 26 }
22 27
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 86
82 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) { 87 void TestSafeBrowsingDatabaseManager::CancelCheck(Client* client) {
83 NOTIMPLEMENTED(); 88 NOTIMPLEMENTED();
84 } 89 }
85 90
86 void TestSafeBrowsingDatabaseManager::StartOnIOThread() { 91 void TestSafeBrowsingDatabaseManager::StartOnIOThread() {
87 } 92 }
88 93
89 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) { 94 void TestSafeBrowsingDatabaseManager::StopOnIOThread(bool shutdown) {
90 } 95 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/test_database_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698