Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |