| 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 7ed44f9d02aadbd5991a3710a4ce6f121c0687ff..f8a62443e9713d9147e801663d9293043c4acb8b 100644
|
| --- a/chrome/browser/extensions/api/serial/serial_event_dispatcher.h
|
| +++ b/chrome/browser/extensions/api/serial/serial_event_dispatcher.h
|
| @@ -18,13 +18,13 @@ namespace api {
|
| // Per-profile dispatcher for events on serial connections.
|
| class SerialEventDispatcher : public ProfileKeyedAPI {
|
| public:
|
| - explicit SerialEventDispatcher(Profile* profile);
|
| + explicit SerialEventDispatcher(content::BrowserContext* context);
|
| virtual ~SerialEventDispatcher();
|
|
|
| // Start receiving data and firing events for a connection.
|
| void PollConnection(const std::string& extension_id, int connection_id);
|
|
|
| - static SerialEventDispatcher* Get(Profile* profile);
|
| + static SerialEventDispatcher* Get(content::BrowserContext* context);
|
|
|
| // ProfileKeyedAPI implementation.
|
| static ProfileKeyedAPIFactory<SerialEventDispatcher>* GetFactoryInstance();
|
|
|