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

Unified Diff: content/common/geofencing_types.h

Issue 1972733002: Delete geofencing implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark histogram suffix as obsolete Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/geofencing_messages.h ('k') | content/common/geofencing_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/geofencing_types.h
diff --git a/content/common/geofencing_types.h b/content/common/geofencing_types.h
deleted file mode 100644
index 12899898ee55529cbc63443619c48f216b4fe542..0000000000000000000000000000000000000000
--- a/content/common/geofencing_types.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_COMMON_GEOFENCING_TYPES_H_
-#define CONTENT_COMMON_GEOFENCING_TYPES_H_
-
-namespace content {
-
-enum GeofencingStatus {
- // Everything is ok.
- GEOFENCING_STATUS_OK,
-
- // Operation failed because there is no Service Worker.
- GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER,
-
- // Operation failed because geofencing is not available.
- GEOFENCING_STATUS_OPERATION_FAILED_SERVICE_NOT_AVAILABLE,
-
- // Unregistering failed because region was not registered.
- GEOFENCING_STATUS_UNREGISTRATION_FAILED_NOT_REGISTERED,
-
- // Generic error.
- GEOFENCING_STATUS_ERROR,
-
- // Used for IPC message range checks.
- GEOFENCING_STATUS_LAST = GEOFENCING_STATUS_ERROR
-};
-
-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_TYPES_H_
« no previous file with comments | « content/common/geofencing_messages.h ('k') | content/common/geofencing_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698