Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / principals_private / principals_private_api.cc
index 3910e9d..d088403 100644 (file)
@@ -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();