| Index: content/common/geofencing_types.h
|
| diff --git a/content/common/geofencing_status.h b/content/common/geofencing_types.h
|
| similarity index 65%
|
| rename from content/common/geofencing_status.h
|
| rename to content/common/geofencing_types.h
|
| index 13a1de8a2f4ee6a1ee9099f13fe0dbecf761fc0e..12899898ee55529cbc63443619c48f216b4fe542 100644
|
| --- a/content/common/geofencing_status.h
|
| +++ b/content/common/geofencing_types.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CONTENT_COMMON_GEOFENCING_STATUS_H_
|
| -#define CONTENT_COMMON_GEOFENCING_STATUS_H_
|
| +#ifndef CONTENT_COMMON_GEOFENCING_TYPES_H_
|
| +#define CONTENT_COMMON_GEOFENCING_TYPES_H_
|
|
|
| namespace content {
|
|
|
| @@ -29,6 +29,20 @@ enum GeofencingStatus {
|
|
|
| const char* GeofencingStatusToString(GeofencingStatus status);
|
|
|
| +enum class GeofencingMockState {
|
| + // Not currently mocking, use real geofencing service.
|
| + NONE,
|
| +
|
| + // Mock a geofencing service that isn't available.
|
| + SERVICE_UNAVAILABLE,
|
| +
|
| + // Mock a geofencing service that is available.
|
| + SERVICE_AVAILABLE,
|
| +
|
| + // Used for IPC message range checks.
|
| + LAST = SERVICE_AVAILABLE
|
| +};
|
| +
|
| } // namespace content
|
|
|
| -#endif // CONTENT_COMMON_GEOFENCING_STATUS_H_
|
| +#endif // CONTENT_COMMON_GEOFENCING_TYPES_H_
|
|
|