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

Unified Diff: chromeos/dbus/fake_auth_policy_client.cc

Issue 2606773002: Setup Chromad user policy plumbing (Closed)
Patch Set: Compilation fixes 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
+ 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));

Powered by Google App Engine
This is Rietveld 408576698