| OLD | NEW |
| 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 | 9 |
| 10 namespace safe_browsing { | 10 namespace safe_browsing { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 return base::WrapUnique(new ServicesDelegateStub); | 23 return base::WrapUnique(new ServicesDelegateStub); |
| 24 } | 24 } |
| 25 | 25 |
| 26 ServicesDelegateStub::ServicesDelegateStub() {} | 26 ServicesDelegateStub::ServicesDelegateStub() {} |
| 27 | 27 |
| 28 ServicesDelegateStub::~ServicesDelegateStub() {} | 28 ServicesDelegateStub::~ServicesDelegateStub() {} |
| 29 | 29 |
| 30 void ServicesDelegateStub::InitializeCsdService( | 30 void ServicesDelegateStub::InitializeCsdService( |
| 31 net::URLRequestContextGetter* context_getter) {} | 31 net::URLRequestContextGetter* context_getter) {} |
| 32 | 32 |
| 33 void ServicesDelegateStub::InitializeServices() {} | 33 void ServicesDelegateStub::Initialize() {} |
| 34 | 34 |
| 35 void ServicesDelegateStub::ShutdownServices() {} | 35 void ServicesDelegateStub::ShutdownServices() {} |
| 36 | 36 |
| 37 void ServicesDelegateStub::RefreshState(bool enable) {} | 37 void ServicesDelegateStub::RefreshState(bool enable) {} |
| 38 | 38 |
| 39 void ServicesDelegateStub::ProcessResourceRequest( | 39 void ServicesDelegateStub::ProcessResourceRequest( |
| 40 const ResourceRequestInfo* request) {} | 40 const ResourceRequestInfo* request) {} |
| 41 | 41 |
| 42 std::unique_ptr<TrackedPreferenceValidationDelegate> | 42 std::unique_ptr<TrackedPreferenceValidationDelegate> |
| 43 ServicesDelegateStub::CreatePreferenceValidationDelegate(Profile* profile) { | 43 ServicesDelegateStub::CreatePreferenceValidationDelegate(Profile* profile) { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 54 content::DownloadManager* download_manager) {} | 54 content::DownloadManager* download_manager) {} |
| 55 | 55 |
| 56 ClientSideDetectionService* ServicesDelegateStub::GetCsdService() { | 56 ClientSideDetectionService* ServicesDelegateStub::GetCsdService() { |
| 57 return nullptr; | 57 return nullptr; |
| 58 } | 58 } |
| 59 | 59 |
| 60 DownloadProtectionService* ServicesDelegateStub::GetDownloadService() { | 60 DownloadProtectionService* ServicesDelegateStub::GetDownloadService() { |
| 61 return nullptr; | 61 return nullptr; |
| 62 } | 62 } |
| 63 | 63 |
| 64 void ServicesDelegateStub::StartOnIOThread( |
| 65 net::URLRequestContextGetter* url_request_context_getter, |
| 66 const V4ProtocolConfig& v4_config) {} |
| 67 |
| 68 void ServicesDelegateStub::StopOnIOThread(bool shutdown) {} |
| 69 |
| 64 } // namespace safe_browsing | 70 } // namespace safe_browsing |
| OLD | NEW |