Index: chrome/browser/extensions/error_console/error_console.h |
diff --git a/chrome/browser/extensions/error_console/error_console.h b/chrome/browser/extensions/error_console/error_console.h |
index 006c31f4c37c66326b6da5f1f1025b3567d63710..fe5de34503fc1a74e63ad3eb199566bb022fdb52 100644 |
--- a/chrome/browser/extensions/error_console/error_console.h |
+++ b/chrome/browser/extensions/error_console/error_console.h |
@@ -10,6 +10,7 @@ |
#include "base/prefs/pref_change_registrar.h" |
#include "base/scoped_observer.h" |
#include "base/threading/thread_checker.h" |
+#include "components/keyed_service/core/keyed_service.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "extensions/browser/error_map.h" |
@@ -36,7 +37,8 @@ class ExtensionRegistry; |
// errors can be viewed at chrome://extensions in developer mode. |
// This class is owned by ExtensionSystem, making it, in effect, a |
// BrowserContext-keyed service. |
-class ErrorConsole : public content::NotificationObserver, |
+class ErrorConsole : public KeyedService, |
+ public content::NotificationObserver, |
public ExtensionRegistryObserver { |
public: |
class Observer { |