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

Unified Diff: chrome/browser/extensions/api/hid/hid_api.cc

Issue 177003015: Pull AsyncApiFunction out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for storage_api 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/hid/hid_api.cc
diff --git a/chrome/browser/extensions/api/hid/hid_api.cc b/chrome/browser/extensions/api/hid/hid_api.cc
index 8850868438033a86c3dd1a93c612818347151d68..a2a14a46cdcc1e727c8419d8d7745d9949d2ff15 100644
--- a/chrome/browser/extensions/api/hid/hid_api.cc
+++ b/chrome/browser/extensions/api/hid/hid_api.cc
@@ -47,10 +47,10 @@ HidAsyncApiFunction::HidAsyncApiFunction()
HidAsyncApiFunction::~HidAsyncApiFunction() {}
bool HidAsyncApiFunction::PrePrepare() {
- device_manager_ = HidDeviceManager::Get(context());
+ device_manager_ = HidDeviceManager::Get(browser_context());
DCHECK(device_manager_);
connection_manager_ =
- ApiResourceManager<HidConnectionResource>::Get(context());
+ ApiResourceManager<HidConnectionResource>::Get(browser_context());
DCHECK(connection_manager_);
set_work_thread_id(content::BrowserThread::FILE);
return true;
« no previous file with comments | « chrome/browser/extensions/api/hid/hid_api.h ('k') | chrome/browser/extensions/api/identity/identity_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698