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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.h

Issue 2719833002: Convert TrackedPreferenceValidationDelegate into a mojo interface. (Closed)
Patch Set: rebase Created 3 years, 10 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/safe_browsing_service.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.h b/chrome/browser/safe_browsing/safe_browsing_service.h
index 42efd31b6c2311263d1c873c9e5c6fe840666950..3db03c6e0fe5f960b7995f84abf9226334ed494e 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.h
+++ b/chrome/browser/safe_browsing/safe_browsing_service.h
@@ -34,7 +34,6 @@
class PrefChangeRegistrar;
class PrefService;
class Profile;
-class TrackedPreferenceValidationDelegate;
namespace content {
class DownloadManager;
@@ -45,6 +44,12 @@ class URLRequest;
class URLRequestContextGetter;
}
+namespace prefs {
+namespace mojom {
+class TrackedPreferenceValidationDelegate;
+}
+}
+
namespace safe_browsing {
class ClientSideDetectionService;
class DownloadProtectionService;
@@ -160,7 +165,7 @@ class SafeBrowsingService : public base::RefCountedThreadSafe<
// Returns a preference validation delegate that adds incidents to the
// incident reporting service for validation failures. Returns NULL if the
// service is not applicable for the given profile.
- std::unique_ptr<TrackedPreferenceValidationDelegate>
+ std::unique_ptr<prefs::mojom::TrackedPreferenceValidationDelegate>
CreatePreferenceValidationDelegate(Profile* profile) const;
// Registers |callback| to be run after some delay following process launch.

Powered by Google App Engine
This is Rietveld 408576698