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

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

Issue 2212463002: Merge "arc: Use location service consent." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: Created 4 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
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.h ('k') | chrome/browser/chromeos/arc/arc_settings_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2d731fedbcb6f26e6752376bd57176e90e42d093..2364790a8b334fc569c7e62a7660e947b076bf4a 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -160,6 +160,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
@@ -292,6 +293,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) {
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.h ('k') | chrome/browser/chromeos/arc/arc_settings_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698