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

Side by Side Diff: device/geolocation/location_arbitrator_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/geolocation/location_arbitrator.h" 5 #include "device/geolocation/location_arbitrator.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h"
12 #include "device/geolocation/fake_access_token_store.h" 13 #include "device/geolocation/fake_access_token_store.h"
13 #include "device/geolocation/fake_location_provider.h" 14 #include "device/geolocation/fake_location_provider.h"
14 #include "device/geolocation/geolocation_delegate.h" 15 #include "device/geolocation/geolocation_delegate.h"
15 #include "device/geolocation/geoposition.h" 16 #include "device/geolocation/geoposition.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 19
19 using ::testing::NiceMock; 20 using ::testing::NiceMock;
20 21
21 namespace device { 22 namespace device {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 440
440 // Advance the time a short while to simulate successive calls. 441 // Advance the time a short while to simulate successive calls.
441 AdvanceTimeNow(base::TimeDelta::FromMilliseconds(5)); 442 AdvanceTimeNow(base::TimeDelta::FromMilliseconds(5));
442 443
443 // Update with a less accurate position to verify 240956. 444 // Update with a less accurate position to verify 240956.
444 SetPositionFix(cell(), 3, 139, 150); 445 SetPositionFix(cell(), 3, 139, 150);
445 CheckLastPositionInfo(3, 139, 150); 446 CheckLastPositionInfo(3, 139, 150);
446 } 447 }
447 448
448 } // namespace device 449 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698