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

Unified Diff: chrome/browser/policy/configuration_policy_provider_test.h

Issue 58313002: Removed the PolicyDefinitionList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-10-use-registry
Patch Set: rebase Created 7 years, 1 month 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/configuration_policy_provider_test.h
diff --git a/chrome/browser/policy/configuration_policy_provider_test.h b/chrome/browser/policy/configuration_policy_provider_test.h
index 637a5285d363d1d77b475a0dede099326c203377..a8dfcdf8d47203968780d1076852eeaed3b4b4a5 100644
--- a/chrome/browser/policy/configuration_policy_provider_test.h
+++ b/chrome/browser/policy/configuration_policy_provider_test.h
@@ -27,23 +27,16 @@ class Value;
namespace policy {
class ConfigurationPolicyProvider;
-struct PolicyDefinitionList;
-// A stripped-down policy definition list that contains entries for the
-// different policy setting types supported.
-namespace test_policy_definitions {
+namespace test_keys {
-// String policy keys.
extern const char kKeyString[];
extern const char kKeyBoolean[];
extern const char kKeyInteger[];
extern const char kKeyStringList[];
extern const char kKeyDictionary[];
-// Policy definition list that contains entries for the keys above.
-extern const PolicyDefinitionList kList;
-
-} // namespace test_policy_definitions
+} // namespace test_keys
class PolicyTestBase : public testing::Test {
public:
@@ -81,8 +74,7 @@ class PolicyProviderTestHarness {
// Create a new policy provider.
virtual ConfigurationPolicyProvider* CreateProvider(
SchemaRegistry* registry,
- scoped_refptr<base::SequencedTaskRunner> task_runner,
- const PolicyDefinitionList* policy_definition_list) = 0;
+ scoped_refptr<base::SequencedTaskRunner> task_runner) = 0;
// Returns the policy level and scope set by the policy provider.
PolicyLevel policy_level() const;

Powered by Google App Engine
This is Rietveld 408576698