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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.cc

Issue 177003015: Pull AsyncApiFunction out of src/chrome (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/bluetooth/bluetooth_api_factory.cc
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.cc
index 60521be8f5f2f182459b649b53973c9d9bd13a5d..54af81a018d24c36df626e34df533ce1fd3399a8 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.cc
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.cc
@@ -13,9 +13,10 @@
namespace extensions {
// static
-BluetoothAPI* BluetoothAPIFactory::GetForProfile(Profile* profile) {
+BluetoothAPI* BluetoothAPIFactory::GetForBrowserContext(
+ content::BrowserContext* context) {
return static_cast<BluetoothAPI*>(
- GetInstance()->GetServiceForBrowserContext(profile, true));
+ GetInstance()->GetServiceForBrowserContext(context, true));
}
// static

Powered by Google App Engine
This is Rietveld 408576698