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