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

Unified Diff: chrome/browser/extensions/api/serial/serial_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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/serial/serial_event_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | chrome/browser/extensions/api/serial/serial_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698