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

Side by Side Diff: device/geolocation/geolocation_provider.h

Issue 2200483002: Geolocation cleanup: run clang-format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_ 5 #ifndef DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
6 #define DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_ 6 #define DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_list.h" 10 #include "base/callback_list.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // updates from the actual providers and sends an update with the overridden 56 // updates from the actual providers and sends an update with the overridden
57 // position to all registered clients. 57 // position to all registered clients.
58 // 58 //
59 // Do not use this function in unit tests. The function instantiates the 59 // Do not use this function in unit tests. The function instantiates the
60 // singleton geolocation stack in the background and manipulates it to report 60 // singleton geolocation stack in the background and manipulates it to report
61 // a fake location. Neither step can be undone, breaking unit test isolation 61 // a fake location. Neither step can be undone, breaking unit test isolation
62 // (crbug.com/125931). 62 // (crbug.com/125931).
63 virtual void OverrideLocationForTesting(const Geoposition& position) = 0; 63 virtual void OverrideLocationForTesting(const Geoposition& position) = 0;
64 64
65 protected: 65 protected:
66 virtual~GeolocationProvider() {} 66 virtual ~GeolocationProvider() {}
67 }; 67 };
68 68
69 } // namespace device 69 } // namespace device
70 70
71 #endif // DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_ 71 #endif // DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « device/geolocation/fake_access_token_store.cc ('k') | device/geolocation/geolocation_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698