OLD | NEW |
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 #ifndef DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ | 5 #ifndef DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ |
6 #define DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ | 6 #define DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ |
7 | 7 |
8 | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | 9 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
13 #include "base/threading/thread.h" | 12 #include "base/threading/thread.h" |
14 #include "device/geolocation/geoposition.h" | 13 #include "device/geolocation/geoposition.h" |
15 #include "device/geolocation/location_provider_base.h" | 14 #include "device/geolocation/location_provider_base.h" |
16 | 15 |
17 namespace device { | 16 namespace device { |
18 | 17 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // listeners with an error when StartProvider is called. | 54 // listeners with an error when StartProvider is called. |
56 LocationProvider* NewAutoFailMockLocationProvider(); | 55 LocationProvider* NewAutoFailMockLocationProvider(); |
57 // Similar to NewAutoSuccessMockLocationProvider but mimicks the behavior of | 56 // Similar to NewAutoSuccessMockLocationProvider but mimicks the behavior of |
58 // the Network Location provider, in deferring making location updates until | 57 // the Network Location provider, in deferring making location updates until |
59 // a permission request has been confirmed. | 58 // a permission request has been confirmed. |
60 LocationProvider* NewAutoSuccessMockNetworkLocationProvider(); | 59 LocationProvider* NewAutoSuccessMockNetworkLocationProvider(); |
61 | 60 |
62 } // namespace device | 61 } // namespace device |
63 | 62 |
64 #endif // DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ | 63 #endif // DEVICE_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ |
OLD | NEW |