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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "chrome/browser/safe_browsing/services_delegate.h" | 9 #include "chrome/browser/safe_browsing/services_delegate.h" |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 void RegisterDelayedAnalysisCallback( | 31 void RegisterDelayedAnalysisCallback( |
32 const DelayedAnalysisCallback& callback) override; | 32 const DelayedAnalysisCallback& callback) override; |
33 void AddDownloadManager(content::DownloadManager* download_manager) override; | 33 void AddDownloadManager(content::DownloadManager* download_manager) override; |
34 ClientSideDetectionService* GetCsdService() override; | 34 ClientSideDetectionService* GetCsdService() override; |
35 DownloadProtectionService* GetDownloadService() override; | 35 DownloadProtectionService* GetDownloadService() override; |
36 | 36 |
37 void StartOnIOThread( | 37 void StartOnIOThread( |
38 net::URLRequestContextGetter* url_request_context_getter, | 38 net::URLRequestContextGetter* url_request_context_getter, |
39 const V4ProtocolConfig& v4_config) override; | 39 const V4ProtocolConfig& v4_config) override; |
40 void StopOnIOThread(bool shutdown) override; | 40 void StopOnIOThread(bool shutdown) override; |
| 41 void CreatePasswordProtectionService(Profile* profile) override; |
| 42 void RemovePasswordProtectionService(Profile* profile) override; |
| 43 PasswordProtectionService* GetPasswordProtectionService( |
| 44 Profile* profile) const override; |
41 | 45 |
42 scoped_refptr<SafeBrowsingDatabaseManager> v4_local_database_manager_; | 46 scoped_refptr<SafeBrowsingDatabaseManager> v4_local_database_manager_; |
43 | 47 |
44 DISALLOW_COPY_AND_ASSIGN(ServicesDelegateStub); | 48 DISALLOW_COPY_AND_ASSIGN(ServicesDelegateStub); |
45 }; | 49 }; |
46 | 50 |
47 } // namespace safe_browsing | 51 } // namespace safe_browsing |
48 | 52 |
49 #endif // CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ | 53 #endif // CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_STUB_H_ |
OLD | NEW |