- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / android / testshell / testshell_google_location_settings_helper.cc
1 // Copyright (c) 2012 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/testshell/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   return "Allow";
22 }
23
24 void TestShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
25 }
26
27 bool TestShellGoogleLocationSettingsHelper::
28     IsGoogleAppsLocationSettingEnabled() {
29   return true;
30 }
31
32 bool TestShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
33   return true;
34 }