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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.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/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 a1085b934e9408189a152f6bdf297fe45aa4de27..49b5e4e9be6a902d6ec1d664fc4eacaabb57ecaa 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;
@@ -163,7 +168,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