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

Side by Side Diff: device/vr/vr_display_impl_unittest.cc

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
« no previous file with comments | « device/vr/vr_device_manager.cc ('k') | ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/vr/vr_display_impl.h" 5 #include "device/vr/vr_display_impl.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "device/vr/test/fake_vr_device.h" 10 #include "device/vr/test/fake_vr_device.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // of the services related with this device will receive "vrdevicechanged" 112 // of the services related with this device will receive "vrdevicechanged"
113 // event. 113 // event.
114 TEST_F(VRDisplayImplTest, DeviceChangedDispatched) { 114 TEST_F(VRDisplayImplTest, DeviceChangedDispatched) {
115 auto service_1 = BindService(); 115 auto service_1 = BindService();
116 auto service_2 = BindService(); 116 auto service_2 = BindService();
117 117
118 device()->OnChanged(); 118 device()->OnChanged();
119 119
120 base::RunLoop().RunUntilIdle(); 120 base::RunLoop().RunUntilIdle();
121 121
122 for (auto client : clients_) 122 for (auto* client : clients_)
123 EXPECT_TRUE(client->CheckDeviceId(device()->id())); 123 EXPECT_TRUE(client->CheckDeviceId(device()->id()));
124 } 124 }
125 } 125 }
OLDNEW
« no previous file with comments | « device/vr/vr_device_manager.cc ('k') | ios/chrome/app/spotlight/bookmarks_spotlight_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698