summaryrefslogtreecommitdiffstats
path: root/chrome/android/testshell/testshell_google_location_settings_helper.cc
blob: fe34ec3178f968160653229b3a7e0ca11f54124d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/android/testshell/testshell_google_location_settings_helper.h"

// Factory function
GoogleLocationSettingsHelper* GoogleLocationSettingsHelper::Create() {
  return new TestShellGoogleLocationSettingsHelper();
}

TestShellGoogleLocationSettingsHelper::TestShellGoogleLocationSettingsHelper()
    : GoogleLocationSettingsHelper() {
}

TestShellGoogleLocationSettingsHelper::
    ~TestShellGoogleLocationSettingsHelper() {
}

std::string TestShellGoogleLocationSettingsHelper::GetAcceptButtonLabel() {
  return "Allow";
}

void TestShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
}

bool TestShellGoogleLocationSettingsHelper::
    IsGoogleAppsLocationSettingEnabled() {
  return true;
}

bool TestShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
  return true;
}