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

Side by Side Diff: chrome/browser/safe_browsing/services_delegate_impl.h

Issue 2719833002: Convert TrackedPreferenceValidationDelegate into a mojo interface. (Closed)
Patch Set: Created 3 years, 9 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 18 matching lines...) Expand all
29 private: 29 private:
30 // ServicesDelegate: 30 // ServicesDelegate:
31 const scoped_refptr<SafeBrowsingDatabaseManager>& v4_local_database_manager() 31 const scoped_refptr<SafeBrowsingDatabaseManager>& v4_local_database_manager()
32 const override; 32 const override;
33 void Initialize(bool v4_enabled) override; 33 void Initialize(bool v4_enabled) override;
34 void InitializeCsdService( 34 void InitializeCsdService(
35 net::URLRequestContextGetter* context_getter) override; 35 net::URLRequestContextGetter* context_getter) override;
36 void ShutdownServices() override; 36 void ShutdownServices() override;
37 void RefreshState(bool enable) override; 37 void RefreshState(bool enable) override;
38 void ProcessResourceRequest(const ResourceRequestInfo* request) override; 38 void ProcessResourceRequest(const ResourceRequestInfo* request) override;
39 std::unique_ptr<TrackedPreferenceValidationDelegate> 39 std::unique_ptr<prefs::mojom::TrackedPreferenceValidationDelegate>
40 CreatePreferenceValidationDelegate(Profile* profile) override; 40 CreatePreferenceValidationDelegate(Profile* profile) override;
41 void RegisterDelayedAnalysisCallback( 41 void RegisterDelayedAnalysisCallback(
42 const DelayedAnalysisCallback& callback) override; 42 const DelayedAnalysisCallback& callback) override;
43 void AddDownloadManager(content::DownloadManager* download_manager) override; 43 void AddDownloadManager(content::DownloadManager* download_manager) override;
44 ClientSideDetectionService* GetCsdService() override; 44 ClientSideDetectionService* GetCsdService() override;
45 DownloadProtectionService* GetDownloadService() override; 45 DownloadProtectionService* GetDownloadService() override;
46 46
47 void StartOnIOThread( 47 void StartOnIOThread(
48 net::URLRequestContextGetter* url_request_context_getter, 48 net::URLRequestContextGetter* url_request_context_getter,
49 const V4ProtocolConfig& v4_config) override; 49 const V4ProtocolConfig& v4_config) override;
50 void StopOnIOThread(bool shutdown) override; 50 void StopOnIOThread(bool shutdown) override;
(...skipping 21 matching lines...) Expand all
72 // The Pver4 local database manager handles the database and download logic 72 // The Pver4 local database manager handles the database and download logic
73 // Accessed on both UI and IO thread. 73 // Accessed on both UI and IO thread.
74 scoped_refptr<SafeBrowsingDatabaseManager> v4_local_database_manager_; 74 scoped_refptr<SafeBrowsingDatabaseManager> v4_local_database_manager_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(ServicesDelegateImpl); 76 DISALLOW_COPY_AND_ASSIGN(ServicesDelegateImpl);
77 }; 77 };
78 78
79 } // namespace safe_browsing 79 } // namespace safe_browsing
80 80
81 #endif // CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_ 81 #endif // CHROME_BROWSER_SAFE_BROWSING_SERVICES_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/services_delegate.h ('k') | chrome/browser/safe_browsing/services_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698