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

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

Issue 2675063002: Browser tests for using the new SafeBrowsing protocol (v4) (Closed)
Patch Set: shess@'s review Created 3 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
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 "chrome/browser/safe_browsing/services_delegate_stub.h" 5 #include "chrome/browser/safe_browsing/services_delegate_stub.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/safe_browsing_db/v4_local_database_manager.h" 9 #include "components/safe_browsing_db/v4_local_database_manager.h"
10 10
(...skipping 18 matching lines...) Expand all
29 ServicesDelegateStub::~ServicesDelegateStub() {} 29 ServicesDelegateStub::~ServicesDelegateStub() {}
30 30
31 void ServicesDelegateStub::InitializeCsdService( 31 void ServicesDelegateStub::InitializeCsdService(
32 net::URLRequestContextGetter* context_getter) {} 32 net::URLRequestContextGetter* context_getter) {}
33 33
34 const scoped_refptr<SafeBrowsingDatabaseManager>& 34 const scoped_refptr<SafeBrowsingDatabaseManager>&
35 ServicesDelegateStub::v4_local_database_manager() const { 35 ServicesDelegateStub::v4_local_database_manager() const {
36 return v4_local_database_manager_; 36 return v4_local_database_manager_;
37 } 37 }
38 38
39 void ServicesDelegateStub::Initialize() {} 39 void ServicesDelegateStub::Initialize(bool v4_enabled) {}
40 40
41 void ServicesDelegateStub::ShutdownServices() {} 41 void ServicesDelegateStub::ShutdownServices() {}
42 42
43 void ServicesDelegateStub::RefreshState(bool enable) {} 43 void ServicesDelegateStub::RefreshState(bool enable) {}
44 44
45 void ServicesDelegateStub::ProcessResourceRequest( 45 void ServicesDelegateStub::ProcessResourceRequest(
46 const ResourceRequestInfo* request) {} 46 const ResourceRequestInfo* request) {}
47 47
48 std::unique_ptr<TrackedPreferenceValidationDelegate> 48 std::unique_ptr<TrackedPreferenceValidationDelegate>
49 ServicesDelegateStub::CreatePreferenceValidationDelegate(Profile* profile) { 49 ServicesDelegateStub::CreatePreferenceValidationDelegate(Profile* profile) {
(...skipping 17 matching lines...) Expand all
67 return nullptr; 67 return nullptr;
68 } 68 }
69 69
70 void ServicesDelegateStub::StartOnIOThread( 70 void ServicesDelegateStub::StartOnIOThread(
71 net::URLRequestContextGetter* url_request_context_getter, 71 net::URLRequestContextGetter* url_request_context_getter,
72 const V4ProtocolConfig& v4_config) {} 72 const V4ProtocolConfig& v4_config) {}
73 73
74 void ServicesDelegateStub::StopOnIOThread(bool shutdown) {} 74 void ServicesDelegateStub::StopOnIOThread(bool shutdown) {}
75 75
76 } // namespace safe_browsing 76 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698