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

Unified Diff: content/browser/geolocation/location_api_adapter_android.cc

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: 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_api_adapter_android.cc
diff --git a/device/geolocation/location_api_adapter_android.cc b/content/browser/geolocation/location_api_adapter_android.cc
similarity index 96%
rename from device/geolocation/location_api_adapter_android.cc
rename to content/browser/geolocation/location_api_adapter_android.cc
index 294305d10562da856609f5c85606b38ea9d1c026..980d1bda3ab95812b15173556f08c0e4885ea04a 100644
--- a/device/geolocation/location_api_adapter_android.cc
+++ b/content/browser/geolocation/location_api_adapter_android.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "device/geolocation/location_api_adapter_android.h"
+#include "content/browser/geolocation/location_api_adapter_android.h"
#include "base/android/context_utils.h"
#include "base/android/jni_android.h"
@@ -10,13 +10,13 @@
#include "base/bind.h"
#include "base/location.h"
#include "base/threading/thread_task_runner_handle.h"
-#include "device/geolocation/location_provider_android.h"
+#include "content/browser/geolocation/location_provider_android.h"
#include "jni/LocationProviderAdapter_jni.h"
using base::android::AttachCurrentThread;
using base::android::CheckException;
using base::android::ClearException;
-using device::AndroidLocationApiAdapter;
+using content::AndroidLocationApiAdapter;
static void NewLocationAvailable(JNIEnv* env,
const JavaParamRef<jclass>&,
@@ -42,7 +42,7 @@ static void NewErrorAvailable(JNIEnv* env,
AndroidLocationApiAdapter::OnNewErrorAvailable(env, message);
}
-namespace device {
+namespace content {
AndroidLocationApiAdapter::AndroidLocationApiAdapter()
: location_provider_(NULL) {
@@ -169,4 +169,4 @@ void AndroidLocationApiAdapter::OnNewGeopositionInternal(
geoposition));
}
-} // namespace device
+} // namespace content
« no previous file with comments | « content/browser/geolocation/location_api_adapter_android.h ('k') | content/browser/geolocation/location_arbitrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698