| Index: device/geolocation/geolocation_provider.h
|
| diff --git a/content/public/browser/geolocation_provider.h b/device/geolocation/geolocation_provider.h
|
| similarity index 87%
|
| rename from content/public/browser/geolocation_provider.h
|
| rename to device/geolocation/geolocation_provider.h
|
| index 9d6524aeb9445fa0b6ca634b87c9ce8506730309..97b7a4cd71c5034de73f0e83f06c405887cece0f 100644
|
| --- a/content/public/browser/geolocation_provider.h
|
| +++ b/device/geolocation/geolocation_provider.h
|
| @@ -2,15 +2,15 @@
|
| // 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_PROVIDER_H_
|
| -#define CONTENT_PUBLIC_BROWSER_GEOLOCATION_PROVIDER_H_
|
| +#ifndef DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
|
| +#define DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
|
|
|
| #include <memory>
|
|
|
| #include "base/callback_list.h"
|
| -#include "content/common/content_export.h"
|
| +#include "device/geolocation/geolocation_export.h"
|
|
|
| -namespace content {
|
| +namespace device {
|
| class GeolocationDelegate;
|
| struct Geoposition;
|
|
|
| @@ -27,10 +27,10 @@ struct Geoposition;
|
| // uses run on a separate Geolocation thread.
|
| class GeolocationProvider {
|
| public:
|
| - CONTENT_EXPORT static GeolocationProvider* GetInstance();
|
| + DEVICE_GEOLOCATION_EXPORT static GeolocationProvider* GetInstance();
|
|
|
| // Optional: provide a Delegate to override typical services.
|
| - CONTENT_EXPORT static void SetGeolocationDelegate(
|
| + DEVICE_GEOLOCATION_EXPORT static void SetGeolocationDelegate(
|
| GeolocationDelegate* delegate);
|
|
|
| typedef base::Callback<void(const Geoposition&)> LocationUpdateCallback;
|
| @@ -66,6 +66,6 @@ class GeolocationProvider {
|
| virtual~GeolocationProvider() {}
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace device
|
|
|
| -#endif // CONTENT_PUBLIC_BROWSER_GEOLOCATION_PROVIDER_H_
|
| +#endif // DEVICE_GEOLOCATION_GEOLOCATION_PROVIDER_H_
|
|
|