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

Side by Side Diff: content/browser/geofencing/geofencing_provider.h

Issue 701953007: Expose mock geofencing service via testRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mention unifying bug in a comment Created 6 years 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 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_ 5 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_
6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_ 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "content/common/geofencing_status.h" 10 #include "content/common/geofencing_types.h"
11 11
12 namespace blink { 12 namespace blink {
13 struct WebCircularGeofencingRegion; 13 struct WebCircularGeofencingRegion;
14 }; 14 };
15 15
16 namespace content { 16 namespace content {
17 17
18 class GeofencingProvider { 18 class GeofencingProvider {
19 public: 19 public:
20 typedef base::Callback<void(GeofencingStatus)> StatusCallback; 20 typedef base::Callback<void(GeofencingStatus)> StatusCallback;
(...skipping 14 matching lines...) Expand all
35 const StatusCallback& callback) = 0; 35 const StatusCallback& callback) = 0;
36 36
37 // Called by |GeofencingService| to unregister an existing registration. Will 37 // Called by |GeofencingService| to unregister an existing registration. Will
38 // only be called once for each registration. 38 // only be called once for each registration.
39 virtual void UnregisterRegion(int64 geofencing_registration_id) = 0; 39 virtual void UnregisterRegion(int64 geofencing_registration_id) = 0;
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_ 44 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698