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

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

Issue 1348903007: Revert of Add source column to chrome://policy showing the origins of policies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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/configuration_policy_provider_test.h
diff --git a/components/policy/core/common/configuration_policy_provider_test.h b/components/policy/core/common/configuration_policy_provider_test.h
index 60bc6e402ef54a942d71f526e1dca86429044f78..a8a0d4316b71b96a3765767c5bcc882318d62c13 100644
--- a/components/policy/core/common/configuration_policy_provider_test.h
+++ b/components/policy/core/common/configuration_policy_provider_test.h
@@ -65,11 +65,9 @@
// ConfigurationPolicyProviderTest below.
class PolicyProviderTestHarness {
public:
- // |level|, |scope| and |source| are the level, scope and source of the
- // policies returned by the providers from CreateProvider().
- PolicyProviderTestHarness(PolicyLevel level,
- PolicyScope scope,
- PolicySource source);
+ // |level| and |scope| are the level and scope of the policies returned by
+ // the providers from CreateProvider().
+ PolicyProviderTestHarness(PolicyLevel level, PolicyScope scope);
virtual ~PolicyProviderTestHarness();
// Actions to run at gtest SetUp() time.
@@ -80,10 +78,9 @@
SchemaRegistry* registry,
scoped_refptr<base::SequencedTaskRunner> task_runner) = 0;
- // Returns the policy level, scope and source set by the policy provider.
+ // Returns the policy level and scope set by the policy provider.
PolicyLevel policy_level() const;
PolicyScope policy_scope() const;
- PolicySource policy_source() const;
// Helpers to configure the environment the policy provider reads from.
virtual void InstallEmptyPolicy() = 0;
@@ -106,7 +103,6 @@
private:
PolicyLevel level_;
PolicyScope scope_;
- PolicySource source_;
DISALLOW_COPY_AND_ASSIGN(PolicyProviderTestHarness);
};

Powered by Google App Engine
This is Rietveld 408576698