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

Unified Diff: components/policy/core/common/policy_test_utils.h

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 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: components/policy/core/common/policy_test_utils.h
diff --git a/chrome/browser/policy/test/policy_test_utils.h b/components/policy/core/common/policy_test_utils.h
similarity index 85%
rename from chrome/browser/policy/test/policy_test_utils.h
rename to components/policy/core/common/policy_test_utils.h
index 4ea452e18db2bc14936887a3aa91b48300d30d35..e2c0c73013716bb98dc110c8210ef9b1f3839b56 100644
--- a/chrome/browser/policy/test/policy_test_utils.h
+++ b/components/policy/core/common/policy_test_utils.h
@@ -2,18 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_POLICY_TEST_POLICY_TEST_UTILS_H_
-#define CHROME_BROWSER_POLICY_TEST_POLICY_TEST_UTILS_H_
+#ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_
+#define COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_
#include <map>
#include <ostream>
#include <string>
#include "base/basictypes.h"
-#include "chrome/browser/policy/policy_service.h"
+#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
+#include "components/policy/core/common/policy_service.h"
#include "components/policy/core/common/policy_types.h"
-#include "policy/policy_constants.h"
namespace policy {
@@ -57,4 +57,4 @@ std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies);
std::ostream& operator<<(std::ostream& os, const policy::PolicyMap::Entry& e);
std::ostream& operator<<(std::ostream& os, const policy::PolicyNamespace& ns);
-#endif // CHROME_BROWSER_POLICY_TEST_POLICY_TEST_UTILS_H_
+#endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698