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

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: removed unused code 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 2012 The Chromium Authors. All rights reserved.
Ted C 2015/01/20 17:52:18 Should all of these be 2015 now?
newt (away) 2015/01/20 22:46:08 Done.
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 // TODO(newt): remove constructor? is it needed?
15 LocationSettings() {}
16 virtual ~LocationSettings() {}
17
18 virtual bool IsSystemLocationEnabled() = 0;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(LocationSettings);
22 };
23
24 #endif // CHROME_BROWSER_ANDROID_LOCATION_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698