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

Unified Diff: chrome/browser/safe_browsing/services_delegate.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/services_delegate.h
diff --git a/chrome/browser/safe_browsing/services_delegate.h b/chrome/browser/safe_browsing/services_delegate.h
index e8852ddcc09e4d831f2b48f498506d237a417729..463e56b3f4acd5df5acf3236fb63433616b88e4f 100644
--- a/chrome/browser/safe_browsing/services_delegate.h
+++ b/chrome/browser/safe_browsing/services_delegate.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
#include "chrome/browser/safe_browsing/incident_reporting/delayed_analysis_callback.h"
-#include "components/user_prefs/tracked/tracked_preference_validation_delegate.h"
class Profile;
@@ -21,6 +20,12 @@ namespace net {
class URLRequestContextGetter;
}
+namespace prefs {
+namespace mojom {
+class TrackedPreferenceValidationDelegate;
+}
+}
+
namespace safe_browsing {
class ClientSideDetectionService;
@@ -86,8 +91,8 @@ class ServicesDelegate {
// See the SafeBrowsingService methods of the same name.
virtual void ProcessResourceRequest(const ResourceRequestInfo* request) = 0;
- virtual std::unique_ptr<TrackedPreferenceValidationDelegate>
- CreatePreferenceValidationDelegate(Profile* profile) = 0;
+ virtual std::unique_ptr<prefs::mojom::TrackedPreferenceValidationDelegate>
+ CreatePreferenceValidationDelegate(Profile* profile) = 0;
virtual void RegisterDelayedAnalysisCallback(
const DelayedAnalysisCallback& callback) = 0;
virtual void AddDownloadManager(
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/services_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698