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

Side by Side Diff: chrome/browser/android/location_settings.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 unified diff | Download patch
OLDNEW
(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_H_
6 #define CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_H_
7
8 #include "base/macros.h"
9
10 // This class determines whether Chrome can access the device's location,
11 // i.e. whether location is enabled system-wide on the device.
12 class LocationSettings {
13 public:
14 virtual ~LocationSettings() {}
15
16 // Returns true if location is enabled system-wide (in Android settings)
17 // and browser-wide (in Chrome location settings).
18 virtual bool IsLocationEnabled() = 0;
19 };
20
21 #endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/google_location_settings_helper.h ('k') | chrome/browser/android/location_settings_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698