OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/android/shell/chrome_shell_google_location_settings_helper.h" |
| 6 |
| 7 // Factory function |
| 8 GoogleLocationSettingsHelper* GoogleLocationSettingsHelper::Create() { |
| 9 return new ChromeShellGoogleLocationSettingsHelper(); |
| 10 } |
| 11 |
| 12 ChromeShellGoogleLocationSettingsHelper:: |
| 13 ChromeShellGoogleLocationSettingsHelper() |
| 14 : GoogleLocationSettingsHelper() { |
| 15 } |
| 16 |
| 17 ChromeShellGoogleLocationSettingsHelper:: |
| 18 ~ChromeShellGoogleLocationSettingsHelper() { |
| 19 } |
| 20 |
| 21 std::string ChromeShellGoogleLocationSettingsHelper::GetAcceptButtonLabel( |
| 22 bool allow) { |
| 23 return "Allow"; |
| 24 } |
| 25 |
| 26 void ChromeShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() { |
| 27 } |
| 28 |
| 29 bool ChromeShellGoogleLocationSettingsHelper:: |
| 30 IsGoogleAppsLocationSettingEnabled() { |
| 31 return true; |
| 32 } |
| 33 |
| 34 bool ChromeShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() { |
| 35 return true; |
| 36 } |
| 37 |
| 38 bool ChromeShellGoogleLocationSettingsHelper::IsAllowLabel() { |
| 39 return true; |
| 40 } |
OLD | NEW |