Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / android / location_settings_impl.h
blob6fbc8daf88bd195c5a0e802519a0c35958c98da1
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 {
14 public:
15 LocationSettingsImpl();
16 ~LocationSettingsImpl() override;
18 static bool Register(JNIEnv* env);
20 // LocationSettings implementation:
21 bool CanSitesRequestLocationPermission(
22 content::WebContents* web_contents) override;
24 private:
25 DISALLOW_COPY_AND_ASSIGN(LocationSettingsImpl);
28 #endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_IMPL_H_