summaryrefslogtreecommitdiffstats
path: root/chrome/android/shell/chrome_shell_google_location_settings_helper.cc
blob: 41aa232673a0229a1bd21672cf5d1d7f4e7d5ca2 (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
35
36
37
38
39
40
// Copyright 2014 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/shell/chrome_shell_google_location_settings_helper.h"

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

ChromeShellGoogleLocationSettingsHelper::
    ChromeShellGoogleLocationSettingsHelper()
    : GoogleLocationSettingsHelper() {
}

ChromeShellGoogleLocationSettingsHelper::
    ~ChromeShellGoogleLocationSettingsHelper() {
}

std::string ChromeShellGoogleLocationSettingsHelper::GetAcceptButtonLabel(
    bool allow) {
  return "Allow";
}

void ChromeShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
}

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

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

bool ChromeShellGoogleLocationSettingsHelper::IsAllowLabel() {
  return true;
}