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

Unified Diff: device/geolocation/location_provider_base.cc

Issue 2298013002: Gets rid of LocationProviderBase. (Closed)
Patch Set: Typo. Created 4 years, 3 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 | « device/geolocation/location_provider_base.h ('k') | device/geolocation/network_location_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_provider_base.cc
diff --git a/device/geolocation/location_provider_base.cc b/device/geolocation/location_provider_base.cc
deleted file mode 100644
index a3918fbd2ea3d146fd48171f7d0f5d738f8b1a73..0000000000000000000000000000000000000000
--- a/device/geolocation/location_provider_base.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2013 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 "device/geolocation/location_provider_base.h"
-
-namespace device {
-
-LocationProviderBase::LocationProviderBase() {}
-
-LocationProviderBase::~LocationProviderBase() {}
-
-void LocationProviderBase::NotifyCallback(const Geoposition& position) {
- if (!callback_.is_null())
- callback_.Run(this, position);
-}
-
-void LocationProviderBase::SetUpdateCallback(
- const LocationProviderUpdateCallback& callback) {
- callback_ = callback;
-}
-
-} // namespace device
« no previous file with comments | « device/geolocation/location_provider_base.h ('k') | device/geolocation/network_location_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698