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

Unified Diff: chrome/browser/extensions/api/audio/audio_api.h

Issue 171813010: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 1). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context_ 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/audio/audio_api.h
diff --git a/chrome/browser/extensions/api/audio/audio_api.h b/chrome/browser/extensions/api/audio/audio_api.h
index e5a63ee88f16329c90f0776f6576f5c3f3bc12d8..5db921383a647b3b867d6b7ca8224dad4dccd7e2 100644
--- a/chrome/browser/extensions/api/audio/audio_api.h
+++ b/chrome/browser/extensions/api/audio/audio_api.h
@@ -16,7 +16,7 @@ class AudioService;
class AudioAPI : public ProfileKeyedAPI,
public AudioService::Observer {
public:
- explicit AudioAPI(Profile* profile);
+ explicit AudioAPI(content::BrowserContext* context);
virtual ~AudioAPI();
AudioService* GetService() const;
@@ -35,7 +35,7 @@ class AudioAPI : public ProfileKeyedAPI,
return "AudioAPI";
}
- Profile* const profile_;
+ content::BrowserContext* const browser_context_;
AudioService* service_;
};
« no previous file with comments | « chrome/browser/extensions/api/api_resource_manager.h ('k') | chrome/browser/extensions/api/audio/audio_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698