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

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

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <memory> 5 #include <memory>
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "device/geolocation/geolocation_provider_impl.h" 8 #include "content/browser/geolocation/geolocation_provider_impl.h"
9 #include "mojo/public/cpp/bindings/binding.h" 9 #include "mojo/public/cpp/bindings/binding.h"
10 #include "third_party/WebKit/public/platform/modules/geolocation/geolocation.moj om.h" 10 #include "third_party/WebKit/public/platform/modules/geolocation/geolocation.moj om.h"
11 11
12 #ifndef DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_ 12 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_
13 #define DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_ 13 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_
14 14
15 namespace device { 15 namespace content {
16 16
17 class GeolocationProvider; 17 class GeolocationProvider;
18 class GeolocationServiceContext; 18 class GeolocationServiceContext;
19 19
20 // Implements the GeolocationService Mojo interface. 20 // Implements the GeolocationService Mojo interface.
21 class GeolocationServiceImpl : public blink::mojom::GeolocationService { 21 class GeolocationServiceImpl : public blink::mojom::GeolocationService {
22 public: 22 public:
23 // |context| must outlive this object. |update_callback| will be called when 23 // |context| must outlive this object. |update_callback| will be called when
24 // location updates are sent, allowing the client to know when the service 24 // location updates are sent, allowing the client to know when the service
25 // is being used. 25 // is being used.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Whether this instance is currently observing location updates with high 73 // Whether this instance is currently observing location updates with high
74 // accuracy. 74 // accuracy.
75 bool high_accuracy_; 75 bool high_accuracy_;
76 76
77 bool has_position_to_report_; 77 bool has_position_to_report_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(GeolocationServiceImpl); 79 DISALLOW_COPY_AND_ASSIGN(GeolocationServiceImpl);
80 }; 80 };
81 81
82 } // namespace device 82 } // namespace content
83 83
84 #endif // DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_ 84 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/geolocation_service_context.cc ('k') | content/browser/geolocation/geolocation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698