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

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

Issue 1847183002: Use interface associations to check function permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit and fixed Windows build. Created 4 years, 9 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
« no previous file with comments | « device/usb/mojo/device_impl_unittest.cc ('k') | device/usb/mojo/fake_permission_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/device_manager_impl_unittest.cc
diff --git a/device/usb/mojo/device_manager_impl_unittest.cc b/device/usb/mojo/device_manager_impl_unittest.cc
index 3a0d50c6067c3db4bf1391c6afeeeb7c43975bc5..1129022afd8ca8839c761a0d94446fd1ebe46021 100644
--- a/device/usb/mojo/device_manager_impl_unittest.cc
+++ b/device/usb/mojo/device_manager_impl_unittest.cc
@@ -20,7 +20,7 @@
#include "device/usb/mock_usb_device_handle.h"
#include "device/usb/mock_usb_service.h"
#include "device/usb/mojo/device_impl.h"
-#include "device/usb/mojo/fake_permission_provider.h"
+#include "device/usb/mojo/mock_permission_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
using ::testing::Invoke;
@@ -47,7 +47,7 @@ class USBDeviceManagerImplTest : public testing::Test {
MockDeviceClient device_client_;
private:
- FakePermissionProvider permission_provider_;
+ MockPermissionProvider permission_provider_;
scoped_ptr<base::MessageLoop> message_loop_;
};
« no previous file with comments | « device/usb/mojo/device_impl_unittest.cc ('k') | device/usb/mojo/fake_permission_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698