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

Unified Diff: device/devices_app/usb/device_manager_impl_unittest.cc

Issue 1371793004: Provide the DeviceManager service to the renderer directly, no app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_permission
Patch Set: Fix header inclusion in chrome_content_browser_client.cc. Created 5 years, 3 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: device/devices_app/usb/device_manager_impl_unittest.cc
diff --git a/device/devices_app/usb/device_manager_impl_unittest.cc b/device/devices_app/usb/device_manager_impl_unittest.cc
index d4e43c882b052fc4bfadb25c51825a592e8bd7fe..ca7e0bdf1763040445340ecc194e5f3f94f31cfb 100644
--- a/device/devices_app/usb/device_manager_impl_unittest.cc
+++ b/device/devices_app/usb/device_manager_impl_unittest.cc
@@ -58,9 +58,8 @@ class USBDeviceManagerImplTest : public testing::Test {
PermissionProviderPtr permission_provider;
permission_provider_.Bind(mojo::GetProxy(&permission_provider));
DeviceManagerPtr device_manager;
- new DeviceManagerImpl(mojo::GetProxy(&device_manager),
- permission_provider.Pass(),
- base::ThreadTaskRunnerHandle::Get());
+ DeviceManagerImpl::Create(permission_provider.Pass(),
+ mojo::GetProxy(&device_manager));
return device_manager.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698