| Index: chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h
|
| diff --git a/chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h b/chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h
|
| index 21e5483e870cbf3ad1058bc6c1387441011811ec..573b8e19cdd8bee39b60e471b0061c02b7ee0d39 100644
|
| --- a/chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h
|
| +++ b/chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h
|
| @@ -22,7 +22,7 @@ class TCPSocketEventDispatcher
|
| : public ProfileKeyedAPI,
|
| public base::SupportsWeakPtr<TCPSocketEventDispatcher> {
|
| public:
|
| - explicit TCPSocketEventDispatcher(Profile* profile);
|
| + explicit TCPSocketEventDispatcher(content::BrowserContext* context);
|
| virtual ~TCPSocketEventDispatcher();
|
|
|
| // Socket is active, start receving from it.
|
| @@ -35,7 +35,7 @@ class TCPSocketEventDispatcher
|
| static ProfileKeyedAPIFactory<TCPSocketEventDispatcher>* GetFactoryInstance();
|
|
|
| // Convenience method to get the SocketEventDispatcher for a profile.
|
| - static TCPSocketEventDispatcher* Get(Profile* profile);
|
| + static TCPSocketEventDispatcher* Get(content::BrowserContext* context);
|
|
|
| private:
|
| typedef ApiResourceManager<ResumableTCPSocket>::ApiResourceData SocketData;
|
|
|