summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/api_resource_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/api_resource_manager.h')
-rw-r--r--chrome/browser/extensions/api/api_resource_manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/api_resource_manager.h b/chrome/browser/extensions/api/api_resource_manager.h
index 6d3008a..31c2f1f 100644
--- a/chrome/browser/extensions/api/api_resource_manager.h
+++ b/chrome/browser/extensions/api/api_resource_manager.h
@@ -88,9 +88,9 @@ class ApiResourceManager : public ProfileKeyedAPI,
// For Testing.
static ApiResourceManager<T>* CreateApiResourceManagerForTest(
- Profile* profile,
+ content::BrowserContext* context,
content::BrowserThread::ID thread_id) {
- ApiResourceManager* manager = new ApiResourceManager<T>(profile);
+ ApiResourceManager* manager = new ApiResourceManager<T>(context);
manager->thread_id_ = thread_id;
manager->data_ = new ApiResourceData(thread_id);
return manager;