Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7051)

Unified Diff: chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h

Issue 174513003: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 3). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h
diff --git a/chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h b/chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h
index 4d15bc351bed095afadffef590418732a86a0a93..68eca9e8f530f97120033e8b8b9b8711baea3422 100644
--- a/chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h
+++ b/chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h
@@ -23,7 +23,7 @@ class TCPServerSocketEventDispatcher
: public ProfileKeyedAPI,
public base::SupportsWeakPtr<TCPServerSocketEventDispatcher> {
public:
- explicit TCPServerSocketEventDispatcher(Profile* profile);
+ explicit TCPServerSocketEventDispatcher(content::BrowserContext* context);
virtual ~TCPServerSocketEventDispatcher();
// Server socket is active, start accepting connections from it.
@@ -37,7 +37,7 @@ class TCPServerSocketEventDispatcher
GetFactoryInstance();
// Convenience method to get the SocketEventDispatcher for a profile.
- static TCPServerSocketEventDispatcher* Get(Profile* profile);
+ static TCPServerSocketEventDispatcher* Get(content::BrowserContext* context);
private:
typedef ApiResourceManager<ResumableTCPServerSocket>::ApiResourceData

Powered by Google App Engine
This is Rietveld 408576698