| 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 #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 Loading... |
| 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(bool v4_enabled) {} | 39 void ServicesDelegateStub::Initialize() {} |
| 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 Loading... |
| 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 |
| OLD | NEW |