class MockGoogleLocationSettingsHelper : public GoogleLocationSettingsHelper {
public:
static void SetLocationStatus(bool master, bool google_apps);
- static bool WasGoogleLocationSettingsCalled();
- // GoogleLocationSettingsHelper implementation:
- virtual std::string GetAcceptButtonLabel() OVERRIDE;
- virtual void ShowGoogleLocationSettings() OVERRIDE;
- virtual bool IsMasterLocationSettingEnabled() OVERRIDE;
- virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE;
+ virtual bool IsSystemLocationEnabled() override;
+
+ bool IsMasterLocationSettingEnabled();
+ bool IsGoogleAppsLocationSettingEnabled();
protected:
MockGoogleLocationSettingsHelper();
static bool master_location_enabled;
static bool google_apps_location_enabled;
- static bool was_google_location_settings_called;
DISALLOW_COPY_AND_ASSIGN(MockGoogleLocationSettingsHelper);
};