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

Unified Diff: chrome/browser/extensions/api/streams_private/streams_private_api.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/streams_private/streams_private_api.h
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.h b/chrome/browser/extensions/api/streams_private/streams_private_api.h
index ec784455b98c7d88610d42b6ac92474e09142341..f5b5648223cd086339a12bf85478d5ba00b1bcb2 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.h
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.h
@@ -20,6 +20,7 @@
class Profile;
namespace content {
+class BrowserContext;
class StreamHandle;
}
@@ -29,9 +30,9 @@ class StreamsPrivateAPI : public ProfileKeyedAPI,
public content::NotificationObserver {
public:
// Convenience method to get the StreamsPrivateAPI for a profile.
- static StreamsPrivateAPI* Get(Profile* profile);
+ static StreamsPrivateAPI* Get(content::BrowserContext* context);
- explicit StreamsPrivateAPI(Profile* profile);
+ explicit StreamsPrivateAPI(content::BrowserContext* context);
virtual ~StreamsPrivateAPI();
void ExecuteMimeTypeHandler(const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698