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

Unified Diff: content/public/browser/geolocation_delegate.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
« no previous file with comments | « content/public/browser/access_token_store.h ('k') | content/public/browser/geolocation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/geolocation_delegate.h
diff --git a/content/public/browser/geolocation_delegate.h b/content/public/browser/geolocation_delegate.h
deleted file mode 100644
index 36ff280a815387a560553228832e4d0bf6069632..0000000000000000000000000000000000000000
--- a/content/public/browser/geolocation_delegate.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 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_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
-#define CONTENT_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
-
-#include <memory>
-
-#include "base/memory/ref_counted.h"
-#include "content/common/content_export.h"
-
-namespace content {
-class AccessTokenStore;
-class LocationProvider;
-
-// An embedder of Geolocation may override these class' methods to provide
-// specific functionality.
-class CONTENT_EXPORT GeolocationDelegate {
- public:
- virtual ~GeolocationDelegate() {}
-
- // Returns true if the location API should use network-based location
- // approximation in addition to the system provider, if any.
- virtual bool UseNetworkLocationProviders();
-
- // Creates a new AccessTokenStore for geolocation. May return nullptr.
- virtual scoped_refptr<AccessTokenStore> CreateAccessTokenStore();
-
- // Allows an embedder to return its own LocationProvider implementation.
- // Return nullptr to use the default one for the platform to be created.
- // FYI: Used by an external project; please don't remove. Contact Viatcheslav
- // Ostapenko at sl.ostapenko@samsung.com for more information.
- virtual std::unique_ptr<LocationProvider> OverrideSystemLocationProvider();
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
« no previous file with comments | « content/public/browser/access_token_store.h ('k') | content/public/browser/geolocation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698