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

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: 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
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();

Powered by Google App Engine
This is Rietveld 408576698