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

Unified Diff: chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc

Issue 2795053002: [subresource_filter] Implement the "Smart" UI on Android (Closed)
Patch Set: rebase on #463637 Created 3 years, 8 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/subresource_filter/subresource_filter_content_settings_manager_factory.cc
diff --git a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc
index a710f41cacb472b911e9056b98e16b62d28e6af9..b5391165033f0dc64872464e658993aff91a9b60 100644
--- a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc
+++ b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc
@@ -11,9 +11,11 @@
#include "components/keyed_service/core/keyed_service.h"
// static
-void SubresourceFilterContentSettingsManagerFactory::EnsureForProfile(
+SubresourceFilterContentSettingsManager*
+SubresourceFilterContentSettingsManagerFactory::EnsureForProfile(
Profile* profile) {
- GetInstance()->GetServiceForBrowserContext(profile, true /* create */);
+ return static_cast<SubresourceFilterContentSettingsManager*>(
+ GetInstance()->GetServiceForBrowserContext(profile, true /* create */));
}
// static

Powered by Google App Engine
This is Rietveld 408576698