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

Unified Diff: components/policy/core/common/policy_loader_mac.mm

Issue 2860973002: Allow PolicyLoadStatusSample to override reporting method (Closed)
Patch Set: Changed callback implementation to class hierarchy implementation. Created 3 years, 7 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/policy_loader_mac.mm
diff --git a/components/policy/core/common/policy_loader_mac.mm b/components/policy/core/common/policy_loader_mac.mm
index 94e8ebc6ea9a030ffc1ebd9fffe353026144f5ea..44d024377b89f275971c1f0c7c78b25c48041ff8 100644
--- a/components/policy/core/common/policy_loader_mac.mm
+++ b/components/policy/core/common/policy_loader_mac.mm
@@ -70,7 +70,7 @@ std::unique_ptr<PolicyBundle> PolicyLoaderMac::Load() {
PolicyMap& chrome_policy =
bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
- PolicyLoadStatusSample status;
+ PolicyLoadStatusAutoSubmitter status;
bool policy_present = false;
const Schema* schema =
schema_map()->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, ""));

Powered by Google App Engine
This is Rietveld 408576698