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

Unified Diff: content/browser/geolocation/location_provider_base.h

Issue 2192683002: Reland 2:Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t_to_int truncation warning Created 4 years, 5 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
Index: content/browser/geolocation/location_provider_base.h
diff --git a/content/browser/geolocation/location_provider_base.h b/content/browser/geolocation/location_provider_base.h
deleted file mode 100644
index a95efa1546caf3c4f91b8da81ab8df7402e8a3e9..0000000000000000000000000000000000000000
--- a/content/browser/geolocation/location_provider_base.h
+++ /dev/null
@@ -1,36 +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.
-
-#ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_BASE_H_
-#define CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_BASE_H_
-
-#include "base/macros.h"
-#include "content/common/content_export.h"
-#include "content/public/browser/location_provider.h"
-
-namespace content {
-
-class CONTENT_EXPORT LocationProviderBase
- : NON_EXPORTED_BASE(public LocationProvider) {
- public:
- LocationProviderBase();
- ~LocationProviderBase() override;
-
- protected:
- void NotifyCallback(const Geoposition& position);
-
- // Overridden from LocationProvider:
- void SetUpdateCallback(
- const LocationProviderUpdateCallback& callback) override;
- void RequestRefresh() override;
-
- private:
- LocationProviderUpdateCallback callback_;
-
- DISALLOW_COPY_AND_ASSIGN(LocationProviderBase);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_PROVIDER_BASE_H_
« no previous file with comments | « content/browser/geolocation/location_provider_android.cc ('k') | content/browser/geolocation/location_provider_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698