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

Unified Diff: components/signin/core/common/profile_management_switches.cc

Issue 2939443004: Load credentials on desktop even when there is no authenticated account ID. (Closed)
Patch Set: Unit test Created 3 years, 6 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 | « components/signin/core/common/profile_management_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/common/profile_management_switches.cc
diff --git a/components/signin/core/common/profile_management_switches.cc b/components/signin/core/common/profile_management_switches.cc
index 33cac231a2a4eaaec404abf98502770ed9a0fa3a..ad3303d8be1d4df84147a30fd157c3f5c544172d 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -32,6 +32,10 @@ bool IsAccountConsistencyMirrorEnabled() {
return GetAccountConsistencyMethod() == AccountConsistencyMethod::kMirror;
}
+bool IsAccountConsistencyDiceEnabled() {
+ return GetAccountConsistencyMethod() == AccountConsistencyMethod::kDice;
+}
+
bool IsExtensionsMultiAccount() {
#if defined(OS_ANDROID) || defined(OS_IOS)
NOTREACHED() << "Extensions are not enabled on Android or iOS";
« no previous file with comments | « components/signin/core/common/profile_management_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698