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.
5 #ifndef CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_
6 #define CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_
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"
13 class LocationSettingsImpl
: public LocationSettings
{
15 LocationSettingsImpl();
16 ~LocationSettingsImpl() override
;
18 static bool Register(JNIEnv
* env
);
20 // LocationSettings implementation:
21 bool IsLocationEnabled() override
;
24 DISALLOW_COPY_AND_ASSIGN(LocationSettingsImpl
);
27 #endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_