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

Side by Side Diff: chrome/browser/android/mock_google_location_settings_helper.cc

Issue 440123002: Remove unused methods from GoogleLocationSettingsHelper (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/mock_google_location_settings_helper.h" 5 #include "chrome/browser/android/mock_google_location_settings_helper.h"
6 6
7 bool MockGoogleLocationSettingsHelper::master_location_enabled = false; 7 bool MockGoogleLocationSettingsHelper::master_location_enabled = false;
8 bool MockGoogleLocationSettingsHelper::google_apps_location_enabled = false; 8 bool MockGoogleLocationSettingsHelper::google_apps_location_enabled = false;
9 9
10 // Factory function 10 // Factory function
(...skipping 14 matching lines...) Expand all
25 google_apps_location_enabled = google_apps; 25 google_apps_location_enabled = google_apps;
26 } 26 }
27 27
28 bool MockGoogleLocationSettingsHelper::IsGoogleAppsLocationSettingEnabled() { 28 bool MockGoogleLocationSettingsHelper::IsGoogleAppsLocationSettingEnabled() {
29 return google_apps_location_enabled; 29 return google_apps_location_enabled;
30 } 30 }
31 31
32 bool MockGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() { 32 bool MockGoogleLocationSettingsHelper::IsMasterLocationSettingEnabled() {
33 return master_location_enabled; 33 return master_location_enabled;
34 } 34 }
35
36 bool MockGoogleLocationSettingsHelper::IsSystemLocationEnabled() {
37 return IsMasterLocationSettingEnabled() &&
38 IsGoogleAppsLocationSettingEnabled();
39 }
OLDNEW
« no previous file with comments | « chrome/browser/android/mock_google_location_settings_helper.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698