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

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

Issue 2975683002: Add GeolocationManager service (Closed)
Patch Set: typo Created 3 years, 5 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/geolocation/BUILD.gn ('k') | device/geolocation/geolocation_config.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DEVICE_GEOLOCATION_GEOLOCATION_CONFIG_H_
6 #define DEVICE_GEOLOCATION_GEOLOCATION_CONFIG_H_
7
8 #include "base/compiler_specific.h"
9 #include "device/geolocation/geolocation_export.h"
10 #include "device/geolocation/geolocation_provider_impl.h"
11 #include "device/geolocation/public/interfaces/geolocation_config.mojom.h"
12 #include "mojo/public/cpp/bindings/binding.h"
13
14 namespace service_manager {
15 struct BindSourceInfo;
16 }
17
18 namespace device {
19
20 // Implements the GeolocationConfig Mojo interface.
21 class DEVICE_GEOLOCATION_EXPORT GeolocationConfig
22 : public NON_EXPORTED_BASE(mojom::GeolocationConfig) {
23 public:
24 GeolocationConfig();
25 ~GeolocationConfig() override;
26
27 static void Create(const service_manager::BindSourceInfo& source_info,
28 mojom::GeolocationConfigRequest request);
29
30 void IsHighAccuracyLocationBeingCaptured(
31 IsHighAccuracyLocationBeingCapturedCallback callback) override;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(GeolocationConfig);
35 };
36
37 } // namespace device
38
39 #endif // DEVICE_GEOLOCATION_GEOLOCATION_CONFIG_H_
OLDNEW
« no previous file with comments | « device/geolocation/BUILD.gn ('k') | device/geolocation/geolocation_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698