OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_ANDROID_SHELL_TESTSHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | |
6 #define CHROME_ANDROID_SHELL_TESTSHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | |
7 | |
8 #include "chrome/browser/android/google_location_settings_helper.h" | |
9 | |
10 // Stub implementation of GoogleLocationSettingsHelper for testshell. | |
11 class TestShellGoogleLocationSettingsHelper | |
12 : public GoogleLocationSettingsHelper { | |
13 public: | |
14 // GoogleLocationSettingsHelper implementation: | |
15 virtual std::string GetAcceptButtonLabel(bool allow) OVERRIDE; | |
16 virtual void ShowGoogleLocationSettings() OVERRIDE; | |
17 virtual bool IsMasterLocationSettingEnabled() OVERRIDE; | |
18 virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE; | |
19 virtual bool IsAllowLabel() OVERRIDE; | |
20 | |
21 protected: | |
22 TestShellGoogleLocationSettingsHelper(); | |
23 virtual ~TestShellGoogleLocationSettingsHelper(); | |
24 | |
25 private: | |
26 friend class GoogleLocationSettingsHelper; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(TestShellGoogleLocationSettingsHelper); | |
29 }; | |
30 | |
31 #endif // CHROME_ANDROID_SHELL_TESTSHELL_GOOGLE_LOCATION_SETTINGS_HELPER_H_ | |
OLD | NEW |