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

Unified Diff: chrome/browser/android/location_settings_impl.h

Issue 815343005: Clean up geolocation code now that it's all upstream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed IsSystemLocationEnabled -> IsLocationEnabled Created 5 years, 11 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 | « chrome/browser/android/location_settings.h ('k') | chrome/browser/android/location_settings_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/location_settings_impl.h
diff --git a/chrome/browser/android/location_settings_impl.h b/chrome/browser/android/location_settings_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..b040dcda39318c607380ac3a035e008b8d1cb420
--- /dev/null
+++ b/chrome/browser/android/location_settings_impl.h
@@ -0,0 +1,27 @@
+// Copyright 2015 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 CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_
+#define CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_
+
+#include "base/android/jni_weak_ref.h"
+#include "base/android/scoped_java_ref.h"
+#include "base/memory/scoped_ptr.h"
+#include "chrome/browser/android/location_settings.h"
+
+class LocationSettingsImpl : public LocationSettings {
+ public:
+ LocationSettingsImpl();
+ ~LocationSettingsImpl() override;
+
+ static bool Register(JNIEnv* env);
+
+ // LocationSettings implementation:
+ bool IsLocationEnabled() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(LocationSettingsImpl);
+};
+
+#endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_
« no previous file with comments | « chrome/browser/android/location_settings.h ('k') | chrome/browser/android/location_settings_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698