OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_ |
| 6 #define CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_ |
| 7 |
| 8 #include "base/android/jni_weak_ref.h" |
| 9 #include "base/android/scoped_java_ref.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/android/location_settings.h" |
| 12 |
| 13 class LocationSettingsImpl : public LocationSettings { |
| 14 public: |
| 15 LocationSettingsImpl(); |
| 16 ~LocationSettingsImpl() override; |
| 17 |
| 18 static bool Register(JNIEnv* env); |
| 19 |
| 20 // LocationSettings implementation: |
| 21 bool IsLocationEnabled() override; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(LocationSettingsImpl); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_ |
OLD | NEW |