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

Unified Diff: chrome/browser/extensions/tab_helper.cc

Issue 28273006: <webview>: Implement declarativeWebRequest API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merged with toT Created 7 years, 1 month 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/extensions/tab_helper.cc
diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
index b8ede76d591b702bda3f646951acab27cb4cd88f..11d0145160f8dc1e089c5008acd9148f1fb8ab46 100644
--- a/chrome/browser/extensions/tab_helper.cc
+++ b/chrome/browser/extensions/tab_helper.cc
@@ -199,7 +199,7 @@ void TabHelper::DidNavigateMainFrame(
#if defined(ENABLE_EXTENSIONS)
if (ExtensionSystem::Get(profile_)->extension_service() &&
RulesRegistryService::Get(profile_)) {
- RulesRegistryService::Get(profile_)->content_rules_registry()->
+ RulesRegistryService::Get(profile_)->GetContentRulesRegistry()->
DidNavigateMainFrame(web_contents(), details, params);
}
#endif // defined(ENABLE_EXTENSIONS)
@@ -351,8 +351,8 @@ void TabHelper::OnWatchedPageChange(
#if defined(ENABLE_EXTENSIONS)
if (ExtensionSystem::Get(profile_)->extension_service() &&
RulesRegistryService::Get(profile_)) {
- RulesRegistryService::Get(profile_)->content_rules_registry()->Apply(
- web_contents(), css_selectors);
+ RulesRegistryService::Get(profile_)->GetContentRulesRegistry()->
+ Apply(web_contents(), css_selectors);
}
#endif // defined(ENABLE_EXTENSIONS)
}

Powered by Google App Engine
This is Rietveld 408576698