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

Unified Diff: chrome/test/base/testing_browser_process.h

Issue 2731283009: Swap ownership of RulesetService and the content delegate (Closed)
Patch Set: engedy review 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/test/base/testing_browser_process.h
diff --git a/chrome/test/base/testing_browser_process.h b/chrome/test/base/testing_browser_process.h
index 041c263082d4d99bd27b3621d3c67daeca553a01..421de7e8900ee2b18bc28c73b49c9668dd3e77b1 100644
--- a/chrome/test/base/testing_browser_process.h
+++ b/chrome/test/base/testing_browser_process.h
@@ -85,8 +85,8 @@ class TestingBrowserProcess : public BrowserProcess {
safe_browsing::SafeBrowsingService* safe_browsing_service() override;
safe_browsing::ClientSideDetectionService* safe_browsing_detection_service()
override;
- subresource_filter::RulesetService* subresource_filter_ruleset_service()
- override;
+ subresource_filter::ContentRulesetService*
+ subresource_filter_ruleset_service() override;
net::URLRequestContextGetter* system_request_context() override;
BrowserProcessPlatformPart* platform_part() override;
@@ -141,7 +141,8 @@ class TestingBrowserProcess : public BrowserProcess {
void SetIOThread(IOThread* io_thread);
void SetSafeBrowsingService(safe_browsing::SafeBrowsingService* sb_service);
void SetRulesetService(
- std::unique_ptr<subresource_filter::RulesetService> ruleset_service);
+ std::unique_ptr<subresource_filter::ContentRulesetService>
+ ruleset_service);
void SetSystemRequestContext(net::URLRequestContextGetter* context_getter);
void SetNotificationUIManager(
std::unique_ptr<NotificationUIManager> notification_ui_manager);
@@ -179,7 +180,7 @@ class TestingBrowserProcess : public BrowserProcess {
#endif
scoped_refptr<safe_browsing::SafeBrowsingService> sb_service_;
- std::unique_ptr<subresource_filter::RulesetService>
+ std::unique_ptr<subresource_filter::ContentRulesetService>
subresource_filter_ruleset_service_;
std::unique_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
« no previous file with comments | « chrome/browser/subresource_filter/test_ruleset_publisher.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698