OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_ | |
6 #define CONTENT_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "base/memory/ref_counted.h" | |
10 #include "third_party/WebKit/public/platform/WebGeofencingProvider.h" | |
11 | |
12 namespace content { | |
13 class GeofencingDispatcher; | |
14 class ThreadSafeSender; | |
15 | |
16 class WebGeofencingProviderImpl | |
17 : NON_EXPORTED_BASE(public blink::WebGeofencingProvider) { | |
18 public: | |
19 explicit WebGeofencingProviderImpl(ThreadSafeSender* thread_safe_sender); | |
20 virtual ~WebGeofencingProviderImpl(); | |
21 | |
22 private: | |
23 // WebGeofencingProvider implementation. | |
24 virtual void registerRegion( | |
25 const blink::WebString& regionId, | |
26 const blink::WebCircularGeofencingRegion& region, | |
27 blink::WebGeofencingCallbacks* callbacks) OVERRIDE; | |
jochen (gone - plz use gerrit)
2014/09/11 12:47:27
no OVERRIDE on blink API implementation
Marijn Kruisselbrink
2014/09/11 17:57:52
Done. But why is this? Is this to make it easier t
jochen (gone - plz use gerrit)
2014/09/12 13:52:54
yes, to make it easier.
Apparently not everybody
| |
28 virtual void unregisterRegion( | |
29 const blink::WebString& regionId, | |
30 blink::WebGeofencingCallbacks* callbacks) OVERRIDE; | |
31 virtual void getRegisteredRegions( | |
32 blink::WebGeofencingRegionsCallbacks* callbacks) OVERRIDE; | |
33 | |
34 GeofencingDispatcher* GetDispatcher(); | |
35 | |
36 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | |
37 | |
38 DISALLOW_COPY_AND_ASSIGN(WebGeofencingProviderImpl); | |
39 }; | |
40 | |
41 } // namespace content | |
42 | |
43 #endif // CONTENT_CHILD_GEOFENCING_WEB_GEOFENCING_PROVIDER_IMPL_H_ | |
OLD | NEW |