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

Side by Side Diff: content/common/geofencing_status.h

Issue 476293002: Pass through geofencing API calls to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and add region_id sanity check Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(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_COMMON_GEOFENCING_STATUS_H_
6 #define CONTENT_COMMON_GEOFENCING_STATUS_H_
7
8 namespace content {
9
10 enum GeofencingStatus {
11 // Everything is ok.
12 GEOFENCING_STATUS_OK,
13
14 // Operation failed because there is no Service Worker.
15 GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER,
16
17 // Operation failed because geofencing is not available.
18 GEOFENCING_STATUS_OPERATION_FAILED_SERVICE_NOT_AVAILABLE,
19
20 // Generic error.
21 GEOFENCING_STATUS_ERROR,
22
23 // Used for IPC message range checks.
24 GEOFENCING_STATUS_LAST = GEOFENCING_STATUS_ERROR
25 };
26
27 const char* GeofencingStatusToString(GeofencingStatus status);
28
29 } // namespace content
30
31 #endif // CONTENT_COMMON_GEOFENCING_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698