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

Side by Side Diff: content/browser/geolocation/mock_location_provider.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 #ifndef CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
6 #define CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
7 7
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
12 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
13 #include "content/browser/geolocation/location_provider_base.h" 14 #include "content/browser/geolocation/location_provider_base.h"
14 #include "content/public/common/geoposition.h" 15 #include "content/public/common/geoposition.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 // Mock implementation of a location provider for testing. 19 // Mock implementation of a location provider for testing.
19 class MockLocationProvider : public LocationProviderBase { 20 class MockLocationProvider : public LocationProviderBase {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // listeners with an error when StartProvider is called. 60 // listeners with an error when StartProvider is called.
60 LocationProvider* NewAutoFailMockLocationProvider(); 61 LocationProvider* NewAutoFailMockLocationProvider();
61 // Similar to NewAutoSuccessMockLocationProvider but mimicks the behavior of 62 // Similar to NewAutoSuccessMockLocationProvider but mimicks the behavior of
62 // the Network Location provider, in deferring making location updates until 63 // the Network Location provider, in deferring making location updates until
63 // a permission request has been confirmed. 64 // a permission request has been confirmed.
64 LocationProvider* NewAutoSuccessMockNetworkLocationProvider(); 65 LocationProvider* NewAutoSuccessMockNetworkLocationProvider();
65 66
66 } // namespace content 67 } // namespace content
67 68
68 #endif // CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_ 69 #endif // CONTENT_BROWSER_GEOLOCATION_MOCK_LOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/mock_location_arbitrator.h ('k') | content/browser/geolocation/network_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698