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/testshell_google_location_settings_helper.h" | |
6 | |
7 // Factory function | |
8 GoogleLocationSettingsHelper* GoogleLocationSettingsHelper::Create() { | |
9 return new TestShellGoogleLocationSettingsHelper(); | |
10 } | |
11 | |
12 TestShellGoogleLocationSettingsHelper::TestShellGoogleLocationSettingsHelper() | |
13 : GoogleLocationSettingsHelper() { | |
14 } | |
15 | |
16 TestShellGoogleLocationSettingsHelper:: | |
17 ~TestShellGoogleLocationSettingsHelper() { | |
18 } | |
19 | |
20 std::string TestShellGoogleLocationSettingsHelper::GetAcceptButtonLabel( | |
21 bool allow) { | |
22 return "Allow"; | |
23 } | |
24 | |
25 void TestShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() { | |
26 } | |
27 | |
28 bool TestShellGoogleLocationSettingsHelper:: | |
29 IsGoogleAppsLocationSettingEnabled() { | |
30 return true; | |
31 } | |
32 | |
33 bool TestShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() { | |
34 return true; | |
35 } | |
36 | |
37 bool TestShellGoogleLocationSettingsHelper::IsAllowLabel() { | |
38 return true; | |
39 } | |
OLD | NEW |