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

Unified Diff: content/common/geofencing_types.cc

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_types.h ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/geofencing_types.cc
diff --git a/content/common/geofencing_types.cc b/content/common/geofencing_types.cc
deleted file mode 100644
index ab8babe6b80a35889850d58fe94dd165a4bd86c2..0000000000000000000000000000000000000000
--- a/content/common/geofencing_types.cc
+++ /dev/null
@@ -1,32 +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.
-
-#include "content/common/geofencing_types.h"
-
-#include "base/logging.h"
-
-namespace content {
-
-const char* GeofencingStatusToString(GeofencingStatus status) {
- switch (status) {
- case GEOFENCING_STATUS_OK:
- return "Operation has succeeded";
-
- case GEOFENCING_STATUS_OPERATION_FAILED_NO_SERVICE_WORKER:
- return "Operation failed - no Service Worker";
-
- case GEOFENCING_STATUS_OPERATION_FAILED_SERVICE_NOT_AVAILABLE:
- return "Operation failed - geofencing not available";
-
- case GEOFENCING_STATUS_UNREGISTRATION_FAILED_NOT_REGISTERED:
- return "Unregistration failed - no region registered with given ID";
-
- case GEOFENCING_STATUS_ERROR:
- return "Operation has failed (unspecified reason)";
- }
- NOTREACHED();
- return "";
-}
-
-} // namespace content
« no previous file with comments | « content/common/geofencing_types.h ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698