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

Unified Diff: chrome/browser/policy/cloud/cloud_policy_test_utils.h

Issue 2534983002: Re-enabled UserCloudPolicyManagerChromeOS unit tests (Closed)
Patch Set: review feedback 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: chrome/browser/policy/cloud/cloud_policy_test_utils.h
diff --git a/chrome/browser/policy/cloud/cloud_policy_test_utils.h b/chrome/browser/policy/cloud/cloud_policy_test_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..2513ae832d52997a31c4af827f1ef37c5f10ef54
--- /dev/null
+++ b/chrome/browser/policy/cloud/cloud_policy_test_utils.h
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_TEST_UTILS_H_
+#define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_TEST_UTILS_H_
+
+namespace policy {
+
+class PolicyMap;
+
+// Fills in the PolicyMap with all of the default policies for an enterprise
+// user. If any of the default policies already have entries in the PolicyMap,
+// this routine will not overwrite them (it only adds entries that do not
+// currently exist in the map).
+void GetExpectedDefaultPolicy(PolicyMap* policy_map);
+
+} // namespace policy
+
+#endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_TEST_UTILS_H_
« no previous file with comments | « chrome/browser/policy/cloud/cloud_policy_browsertest.cc ('k') | chrome/browser/policy/cloud/cloud_policy_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698