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

Unified Diff: chrome/browser/safe_browsing/services_delegate_stub.cc

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
« no previous file with comments | « chrome/browser/safe_browsing/services_delegate_stub.h ('k') | components/user_prefs/tracked/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/services_delegate_stub.cc
diff --git a/chrome/browser/safe_browsing/services_delegate_stub.cc b/chrome/browser/safe_browsing/services_delegate_stub.cc
index 337c5aa48fa6010a1b532a8fba136a4de15e3012..b3f189d161191f42670677bf557a21c0e6a2d7ed 100644
--- a/chrome/browser/safe_browsing/services_delegate_stub.cc
+++ b/chrome/browser/safe_browsing/services_delegate_stub.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "components/safe_browsing_db/v4_local_database_manager.h"
+#include "services/preferences/public/interfaces/tracked_preference_validation_delegate.mojom.h"
namespace safe_browsing {
@@ -45,9 +46,9 @@ void ServicesDelegateStub::RefreshState(bool enable) {}
void ServicesDelegateStub::ProcessResourceRequest(
const ResourceRequestInfo* request) {}
-std::unique_ptr<TrackedPreferenceValidationDelegate>
+std::unique_ptr<prefs::mojom::TrackedPreferenceValidationDelegate>
ServicesDelegateStub::CreatePreferenceValidationDelegate(Profile* profile) {
- return std::unique_ptr<TrackedPreferenceValidationDelegate>();
+ return nullptr;
}
void ServicesDelegateStub::RegisterDelayedAnalysisCallback(
« no previous file with comments | « chrome/browser/safe_browsing/services_delegate_stub.h ('k') | components/user_prefs/tracked/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698