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

Unified Diff: chrome/browser/chromeos/policy/login_profile_policy_provider.cc

Issue 1304843004: Add source column to chrome://policy showing the origins of policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browsertest now checks one translated string. Refactoring according to review. Created 5 years, 3 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/chromeos/policy/login_profile_policy_provider.cc
diff --git a/chrome/browser/chromeos/policy/login_profile_policy_provider.cc b/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
index f0fe77feb84703eb00384998e5912f709d7fdc78..281e5c420044a60382833d99a293bdfcb3cfa3f8 100644
--- a/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
+++ b/chrome/browser/chromeos/policy/login_profile_policy_provider.cc
@@ -90,6 +90,8 @@ LoginProfilePolicyProvider::LoginProfilePolicyProvider(
: device_policy_service_(device_policy_service),
waiting_for_device_policy_refresh_(false),
weak_factory_(this) {
+ // Policies for profiles must be set by an admin and thus come from the cloud.
Thiemo Nagel 2015/09/07 15:18:57 How about "All Chrome OS policies are coming from
fhorschig 2015/09/07 15:59:35 Much easier. I like it.
+ source_ = POLICY_SOURCE_CLOUD;
}
LoginProfilePolicyProvider::~LoginProfilePolicyProvider() {

Powered by Google App Engine
This is Rietveld 408576698