| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | 5 #ifndef CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ |
| 6 #define CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | 6 #define CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/android/google_location_settings_helper.h" | 8 #include "chrome/browser/android/google_location_settings_helper.h" |
| 9 | 9 |
| 10 // Stub implementation of GoogleLocationSettingsHelper for testshell. | 10 // Stub implementation of GoogleLocationSettingsHelper for testshell. |
| 11 class ChromeShellGoogleLocationSettingsHelper | 11 class ChromeShellGoogleLocationSettingsHelper |
| 12 : public GoogleLocationSettingsHelper { | 12 : public GoogleLocationSettingsHelper { |
| 13 public: | 13 public: |
| 14 // GoogleLocationSettingsHelper implementation: | 14 // GoogleLocationSettingsHelper implementation: |
| 15 virtual bool IsSystemLocationEnabled() OVERRIDE; | 15 virtual bool IsSystemLocationEnabled() override; |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 ChromeShellGoogleLocationSettingsHelper(); | 18 ChromeShellGoogleLocationSettingsHelper(); |
| 19 virtual ~ChromeShellGoogleLocationSettingsHelper(); | 19 virtual ~ChromeShellGoogleLocationSettingsHelper(); |
| 20 | 20 |
| 21 private: | 21 private: |
| 22 friend class GoogleLocationSettingsHelper; | 22 friend class GoogleLocationSettingsHelper; |
| 23 | 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(ChromeShellGoogleLocationSettingsHelper); | 24 DISALLOW_COPY_AND_ASSIGN(ChromeShellGoogleLocationSettingsHelper); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 #endif // CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | 27 #endif // CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ |
| OLD | NEW |