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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.cc

Issue 2179803002: arc: Use location service consent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: discard unwanted change Created 4 years, 5 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/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index c20b7401e98994688138b9c3ba3d02006c883521..ea1b89c48fc05ed35d8cbbaf78eb4d1799e9df4b 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -125,6 +125,7 @@ void ArcAuthService::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterBooleanPref(prefs::kArcSignedIn, false);
registry->RegisterBooleanPref(prefs::kArcBackupRestoreEnabled, true);
+ registry->RegisterBooleanPref(prefs::kArcLocationServiceEnabled, true);
}
// static
@@ -255,6 +256,8 @@ void ArcAuthService::OnSignInComplete() {
UpdateProvisioningTiming(base::Time::Now() - sign_in_time_, true,
IsAccountManaged(profile_));
UpdateProvisioningResultUMA(ProvisioningResult::SUCCESS);
+
+ FOR_EACH_OBSERVER(Observer, observer_list_, OnInitialStart());
}
void ArcAuthService::OnSignInFailed(arc::mojom::ArcSignInFailureReason reason) {

Powered by Google App Engine
This is Rietveld 408576698