Chromium Code Reviews| 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_PUBLIC_COMMON_GEOFENCING_STATUS_H_ | |
|
jochen (gone - plz use gerrit)
2014/09/11 12:47:27
why is this in content/public?
Marijn Kruisselbrink
2014/09/11 17:57:52
That's what I was wondering... Probably because wh
jochen (gone - plz use gerrit)
2014/09/12 13:52:54
it should be in public/ if somebody outside of con
| |
| 6 #define CONTENT_PUBLIC_COMMON_GEOFENCING_STATUS_H_ | |
| 7 | |
| 8 namespace content { | |
| 9 | |
| 10 enum GeofencingStatus { | |
| 11 // Everything is ok. | |
| 12 GEOFENCING_STATUS_OK, | |
| 13 | |
| 14 // Registration failed because there is no Service Worker. | |
| 15 GEOFENCING_STATUS_REGISTRATION_FAILED_NO_SERVICE_WORKER, | |
| 16 | |
| 17 // Registration failed because geofencing is not available. | |
| 18 GEOFENCING_STATUS_REGISTRATION_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_PUBLIC_COMMON_GEOFENCING_STATUS_H_ | |
| OLD | NEW |