Index: chrome/browser/android/mock_google_location_settings_helper.h |
diff --git a/chrome/browser/android/mock_google_location_settings_helper.h b/chrome/browser/android/mock_google_location_settings_helper.h |
index 64bea2f3262038bac775fa01510803859d7a9b36..14fa9c857d447dd8e2e3584861d7e66286a404cd 100644 |
--- a/chrome/browser/android/mock_google_location_settings_helper.h |
+++ b/chrome/browser/android/mock_google_location_settings_helper.h |
@@ -11,14 +11,10 @@ |
class MockGoogleLocationSettingsHelper : public GoogleLocationSettingsHelper { |
public: |
static void SetLocationStatus(bool master, bool google_apps); |
- static bool WasGoogleLocationSettingsCalled(); |
// GoogleLocationSettingsHelper implementation: |
Michael van Ouwerkerk
2014/08/06 10:47:43
Don't you need virtual bool IsSystemLocationEnable
Miguel Garcia
2014/08/06 12:56:58
Which is fine, once I remove the temp I implement
|
- virtual std::string GetAcceptButtonLabel(bool allow) OVERRIDE; |
- virtual void ShowGoogleLocationSettings() OVERRIDE; |
virtual bool IsMasterLocationSettingEnabled() OVERRIDE; |
Michael van Ouwerkerk
2014/08/06 10:47:43
So this can be deleted as well?
Miguel Garcia
2014/08/06 12:56:58
There are tests that set/check for this condition.
|
virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE; |
Michael van Ouwerkerk
2014/08/06 10:47:43
And this?
Miguel Garcia
2014/08/06 12:56:58
ditto
|
- virtual bool IsAllowLabel() OVERRIDE; |
protected: |
MockGoogleLocationSettingsHelper(); |
@@ -29,7 +25,6 @@ class MockGoogleLocationSettingsHelper : public GoogleLocationSettingsHelper { |
static bool master_location_enabled; |
static bool google_apps_location_enabled; |
Michael van Ouwerkerk
2014/08/06 10:47:43
And these two could be replaced by:
static bool is
Miguel Garcia
2014/08/06 12:56:58
ditto. In the tests you want to ensure that changi
|
- static bool was_google_location_settings_called; |
DISALLOW_COPY_AND_ASSIGN(MockGoogleLocationSettingsHelper); |
}; |