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

Unified Diff: chromeos/dbus/fake_auth_policy_client.cc

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: CrOS compilation fix 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
Index: chromeos/dbus/fake_auth_policy_client.cc
diff --git a/chromeos/dbus/fake_auth_policy_client.cc b/chromeos/dbus/fake_auth_policy_client.cc
index c4a584768703731cc01f7ec1e367996d7747e7f9..45fa482bff3aa5761081cc3d34157964d712d1f1 100644
--- a/chromeos/dbus/fake_auth_policy_client.cc
+++ b/chromeos/dbus/fake_auth_policy_client.cc
@@ -115,6 +115,13 @@ void FakeAuthPolicyClient::RefreshUserPolicy(
policy_path = policy_path.AppendASCII("stub_policy");
em::CloudPolicySettings policy;
+
+ // DELETE_ME
emaxx 2016/12/28 19:09:20 Wrong change?
Thiemo Nagel 2016/12/29 15:08:28 Thanks. Deleted. ;)
+ em::StringPolicyProto string_policy;
+ string_policy.set_value("[{\"url\": \"google.com\", \"name\": \"Google\"}]");
+ *(policy.mutable_managedbookmarks()) = string_policy;
+ // END_DELETE_ME
+
std::string payload;
CHECK(policy.SerializeToString(&payload));
« chrome/browser/ui/webui/policy_ui_handler.cc ('K') | « chrome/browser/ui/webui/policy_ui_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698