Index: chrome/browser/extensions/api/serial/serial_event_dispatcher.h |
diff --git a/chrome/browser/extensions/api/serial/serial_event_dispatcher.h b/chrome/browser/extensions/api/serial/serial_event_dispatcher.h |
index 34fd314de610cfdc0601dc457ed43c395b545057..83b8938866c8453f29102483985619519016afed 100644 |
--- a/chrome/browser/extensions/api/serial/serial_event_dispatcher.h |
+++ b/chrome/browser/extensions/api/serial/serial_event_dispatcher.h |
@@ -18,7 +18,7 @@ class SerialConnection; |
namespace api { |
// Per-profile dispatcher for events on serial connections. |
-class SerialEventDispatcher : public ProfileKeyedAPI { |
+class SerialEventDispatcher : public BrowserContextKeyedAPI { |
public: |
explicit SerialEventDispatcher(content::BrowserContext* context); |
virtual ~SerialEventDispatcher(); |
@@ -28,14 +28,15 @@ class SerialEventDispatcher : public ProfileKeyedAPI { |
static SerialEventDispatcher* Get(content::BrowserContext* context); |
- // ProfileKeyedAPI implementation. |
- static ProfileKeyedAPIFactory<SerialEventDispatcher>* GetFactoryInstance(); |
+ // BrowserContextKeyedAPI implementation. |
+ static BrowserContextKeyedAPIFactory<SerialEventDispatcher>* |
+ GetFactoryInstance(); |
private: |
typedef ApiResourceManager<SerialConnection>::ApiResourceData ConnectionData; |
- friend class ProfileKeyedAPIFactory<SerialEventDispatcher>; |
+ friend class BrowserContextKeyedAPIFactory<SerialEventDispatcher>; |
- // ProfileKeyedAPI implementation. |
+ // BrowserContextKeyedAPI implementation. |
static const char *service_name() { |
return "SerialEventDispatcher"; |
} |