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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 698623002: Split WarningService from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: virtual -> override Created 6 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
« no previous file with comments | « chrome/browser/extensions/test_extension_system.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index 5910bb776652e8a057b5c424ba7c20e3994b4c5c..ab44125e5cb5498dd593d727e7f789777734abd6 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -884,7 +884,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData(
// Add the extensions to the results structure.
base::ListValue* extensions_list = new base::ListValue();
- WarningService* warnings = ExtensionSystem::Get(profile)->warning_service();
+ WarningService* warnings = WarningService::Get(profile);
ExtensionRegistry* registry = ExtensionRegistry::Get(profile);
const ExtensionSet& enabled_set = registry->enabled_extensions();
@@ -1355,8 +1355,7 @@ void ExtensionSettingsHandler::MaybeRegisterForNotifications() {
content::WebContentsObserver::Observe(web_ui()->GetWebContents());
- warning_service_observer_.Add(
- ExtensionSystem::Get(profile)->warning_service());
+ warning_service_observer_.Add(WarningService::Get(profile));
error_console_observer_.Add(ErrorConsole::Get(profile));
« no previous file with comments | « chrome/browser/extensions/test_extension_system.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698