Chromium Code Reviews| Index: chrome/browser/extensions/api/serial/serial_api.h |
| diff --git a/chrome/browser/extensions/api/serial/serial_api.h b/chrome/browser/extensions/api/serial/serial_api.h |
| index f541c4105bc2d9ccab82ff68c8a31abcf9dc318c..d79c43db4320ff5d731ec7bf7e9203a7ed17ee84 100644 |
| --- a/chrome/browser/extensions/api/serial/serial_api.h |
| +++ b/chrome/browser/extensions/api/serial/serial_api.h |
| @@ -8,9 +8,9 @@ |
| #include <string> |
| #include "base/memory/ref_counted.h" |
| -#include "chrome/browser/extensions/api/api_function.h" |
| #include "chrome/browser/extensions/api/api_resource_manager.h" |
| #include "chrome/common/extensions/api/serial.h" |
| +#include "extensions/browser/api/async_api_function.h" |
| namespace extensions { |
| @@ -74,12 +74,12 @@ class SerialConnectFunction : public SerialAsyncApiFunction { |
| scoped_ptr<serial::Connect::Params> params_; |
| - // SerialEventDispatcher is owned by a Profile. |
| + // SerialEventDispatcher is owned by a BrowserContext. |
| SerialEventDispatcher* serial_event_dispatcher_; |
| // This connection is created within SerialConnectFunction. |
| // From there it is either destroyed in OnConnected (upon failure) |
| - // or its ownership is transferred to the profile's. |
| + // or its ownership is transferred to the browser context's. |
|
Yoyo Zhou
2014/02/27 23:53:46
nit: the 's here looks extraneous
|
| // ApiResourceManager<SerialConnection>. |
| SerialConnection* connection_; |
| }; |