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

Unified Diff: chrome/browser/extensions/api/principals_private/principals_private_api.cc

Issue 372033002: Change semantics of newProfileManagement() to accountConsistency() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix profile_chooser_controller_test Created 6 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/principals_private/principals_private_api.cc
diff --git a/chrome/browser/extensions/api/principals_private/principals_private_api.cc b/chrome/browser/extensions/api/principals_private/principals_private_api.cc
index 3910e9d4c272f3a8d1ba567eb18b7a5f9eaf3c4a..d088403b461b11e44aa0a99f8be1b6fd30922505 100644
--- a/chrome/browser/extensions/api/principals_private/principals_private_api.cc
+++ b/chrome/browser/extensions/api/principals_private/principals_private_api.cc
@@ -15,9 +15,9 @@
namespace extensions {
bool PrincipalsPrivateExtensionFunction::RunSync() {
- if (!switches::IsNewProfileManagement()) {
+ if (!switches::IsEnableAccountConsistency()) {
SetError(
- "Need to enable new-profile-management to use principalsPrivate API.");
+ "Need to enable account consistency to use principalsPrivate API.");
return false;
}
return RunSyncSafe();
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/signin/chrome_signin_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698