Escape the ampersand in extension names before showing in menu.
[chromium-blink-merge.git] / chrome / android / shell / chrome_shell_google_location_settings_helper.cc
blob41aa232673a0229a1bd21672cf5d1d7f4e7d5ca2
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.
5 #include "chrome/android/shell/chrome_shell_google_location_settings_helper.h"
7 // Factory function
8 GoogleLocationSettingsHelper* GoogleLocationSettingsHelper::Create() {
9 return new ChromeShellGoogleLocationSettingsHelper();
12 ChromeShellGoogleLocationSettingsHelper::
13 ChromeShellGoogleLocationSettingsHelper()
14 : GoogleLocationSettingsHelper() {
17 ChromeShellGoogleLocationSettingsHelper::
18 ~ChromeShellGoogleLocationSettingsHelper() {
21 std::string ChromeShellGoogleLocationSettingsHelper::GetAcceptButtonLabel(
22 bool allow) {
23 return "Allow";
26 void ChromeShellGoogleLocationSettingsHelper::ShowGoogleLocationSettings() {
29 bool ChromeShellGoogleLocationSettingsHelper::
30 IsGoogleAppsLocationSettingEnabled() {
31 return true;
34 bool ChromeShellGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
35 return true;
38 bool ChromeShellGoogleLocationSettingsHelper::IsAllowLabel() {
39 return true;