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

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

Issue 852593002: Allow overriding GoogleLocationSettingsHelper for tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 5 years, 11 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 71eb1e8302a7bd05e60810fc263075b195df46ba..352edc48eac17048797f60d38ed2c9b2e8c34e09 100644
--- a/chrome/browser/android/mock_google_location_settings_helper.h
+++ b/chrome/browser/android/mock_google_location_settings_helper.h
@@ -10,17 +10,16 @@
// Mock implementation of GoogleLocationSettingsHelper for unit tests.
class MockGoogleLocationSettingsHelper : public GoogleLocationSettingsHelper {
public:
+ MockGoogleLocationSettingsHelper();
+ ~MockGoogleLocationSettingsHelper() override;
+
static void SetLocationStatus(bool master, bool google_apps);
- virtual bool IsSystemLocationEnabled() override;
+ bool IsSystemLocationEnabled() override;
bool IsMasterLocationSettingEnabled();
bool IsGoogleAppsLocationSettingEnabled();
- protected:
- MockGoogleLocationSettingsHelper();
- virtual ~MockGoogleLocationSettingsHelper();
-
private:
friend class GoogleLocationSettingsHelper;

Powered by Google App Engine
This is Rietveld 408576698