Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4142)

Unified Diff: chrome/browser/android/mock_google_location_settings_helper.h

Issue 441883003: Simplify Android geolocation permission checks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:
- virtual std::string GetAcceptButtonLabel(bool allow) OVERRIDE;
- virtual void ShowGoogleLocationSettings() OVERRIDE;
virtual bool IsMasterLocationSettingEnabled() OVERRIDE;
virtual bool IsGoogleAppsLocationSettingEnabled() OVERRIDE;
- 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;
- static bool was_google_location_settings_called;
DISALLOW_COPY_AND_ASSIGN(MockGoogleLocationSettingsHelper);
};

Powered by Google App Engine
This is Rietveld 408576698