blob: a4fd2c9d272b1125f47b4b369d3bd0f953ee715a (
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.
#ifndef CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_
#define CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_
#include "chrome/browser/android/google_location_settings_helper.h"
// Stub implementation of GoogleLocationSettingsHelper for testshell.
class ChromeShellGoogleLocationSettingsHelper
: public GoogleLocationSettingsHelper {
public:
// GoogleLocationSettingsHelper implementation:
virtual std::string GetAcceptButtonLabel(bool allow) OVERRIDE;
virtual void ShowGoogleLocationSettings() OVERRIDE;
virtual bool IsMasterLocationSettingEnabled() OVERRIDE;
virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE;
virtual bool IsAllowLabel() OVERRIDE;
protected:
ChromeShellGoogleLocationSettingsHelper();
virtual ~ChromeShellGoogleLocationSettingsHelper();
private:
friend class GoogleLocationSettingsHelper;
DISALLOW_COPY_AND_ASSIGN(ChromeShellGoogleLocationSettingsHelper);
};
#endif // CHROME_ANDROID_SHELL_CHROME_SHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_
|