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

Unified Diff: device/vr/vr_device_manager_unittest.cc

Issue 2029703002: Moving VR service from /content/browser to /device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added nogncheck to failing include Created 4 years, 6 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/vr/vr_device_manager.cc ('k') | device/vr/vr_device_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_device_manager_unittest.cc
diff --git a/content/browser/vr/vr_device_manager_unittest.cc b/device/vr/vr_device_manager_unittest.cc
similarity index 90%
rename from content/browser/vr/vr_device_manager_unittest.cc
rename to device/vr/vr_device_manager_unittest.cc
index b0a06772a468e15d3eb11987833fb26aee7a9d88..8271ca8162c95b97acecd6d3e8829ad4b38f7359 100644
--- a/content/browser/vr/vr_device_manager_unittest.cc
+++ b/device/vr/vr_device_manager_unittest.cc
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/vr/vr_device_manager.h"
+#include "device/vr/vr_device_manager.h"
#include <memory>
#include <utility>
#include "base/macros.h"
#include "base/memory/linked_ptr.h"
-#include "content/browser/vr/test/fake_vr_device.h"
-#include "content/browser/vr/test/fake_vr_device_provider.h"
-#include "content/browser/vr/vr_device_provider.h"
+#include "device/vr/test/fake_vr_device.h"
+#include "device/vr/test/fake_vr_device_provider.h"
+#include "device/vr/vr_device_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
+namespace device {
class VRDeviceManagerTest : public testing::Test {
protected:
@@ -32,11 +32,9 @@ class VRDeviceManagerTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(VRDeviceManagerTest);
};
-VRDeviceManagerTest::VRDeviceManagerTest() {
-}
+VRDeviceManagerTest::VRDeviceManagerTest() {}
-VRDeviceManagerTest::~VRDeviceManagerTest() {
-}
+VRDeviceManagerTest::~VRDeviceManagerTest() {}
void VRDeviceManagerTest::SetUp() {
std::unique_ptr<FakeVRDeviceProvider> provider(new FakeVRDeviceProvider());
@@ -97,4 +95,4 @@ TEST_F(VRDeviceManagerTest, GetDevicesBasicTest) {
EXPECT_EQ(webvr_devices[0]->index, device2->id());
}
-} // namespace content
+} // namespace device
« no previous file with comments | « device/vr/vr_device_manager.cc ('k') | device/vr/vr_device_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698