summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/google_location_settings_helper.cc
blob: 3dc8e004a75ea604f61b6942d695f27277fc0b2a (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
// 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/browser/android/google_location_settings_helper.h"

// Temporary stubs for a 3 way patch

std::string GoogleLocationSettingsHelper::GetAcceptButtonLabel(bool allow) {
  return std::string();
}

bool GoogleLocationSettingsHelper::IsAllowLabel() {
  return false;
}

void GoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
}

bool GoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
  return false;
}

bool GoogleLocationSettingsHelper::IsGoogleAppsLocationSettingEnabled() {
  return false;
}

bool GoogleLocationSettingsHelper::IsSystemLocationEnabled() {
  return IsMasterLocationSettingEnabled() &&
      IsGoogleAppsLocationSettingEnabled();
}