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

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

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.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h b/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h
index cd5662c87ec512ff451ceade9aaa5676dab97112..d686452c0983a0158fd89ed0fe599eddc1cde49d 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h
@@ -8,7 +8,9 @@
#include "base/memory/singleton.h"
#include "components/browser_context_keyed_service/browser_context_keyed_service_factory.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace extensions {
@@ -16,7 +18,7 @@ class BluetoothAPI;
class BluetoothAPIFactory : public BrowserContextKeyedServiceFactory {
public:
- static BluetoothAPI* GetForProfile(Profile* profile);
+ static BluetoothAPI* GetForBrowserContext(content::BrowserContext* context);
static BluetoothAPIFactory* GetInstance();

Powered by Google App Engine
This is Rietveld 408576698