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

Unified Diff: chrome/browser/bookmarks/managed_bookmark_service_factory.cc

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: Rebase Created 4 years 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 | « no previous file | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/managed_bookmark_service_factory.cc
diff --git a/chrome/browser/bookmarks/managed_bookmark_service_factory.cc b/chrome/browser/bookmarks/managed_bookmark_service_factory.cc
index 8018099f8af1839456be7cb628a56cea0a0f26c4..c2138a9bc078bf1aa35ab3a6d27186b08dd3de05 100644
--- a/chrome/browser/bookmarks/managed_bookmark_service_factory.cc
+++ b/chrome/browser/bookmarks/managed_bookmark_service_factory.cc
@@ -22,7 +22,7 @@ namespace {
std::string GetManagedBookmarksDomain(Profile* profile) {
policy::ProfilePolicyConnector* connector =
policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile);
- if (connector->IsPolicyFromCloudPolicy(policy::key::kManagedBookmarks))
+ if (connector->IsProfilePolicy(policy::key::kManagedBookmarks))
return connector->GetManagementDomain();
return std::string();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698