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

Unified Diff: components/policy/core/common/policy_map.cc

Issue 2724763002: Initialize source field of PolicyMap::Entry (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/policy_map.cc
diff --git a/components/policy/core/common/policy_map.cc b/components/policy/core/common/policy_map.cc
index 1814be07e5b9f5af1eeda75bc48d8fd9a221d446..2f15c0b6e9f6b020694a464445c3cd71fe7b623f 100644
--- a/components/policy/core/common/policy_map.cc
+++ b/components/policy/core/common/policy_map.cc
@@ -13,7 +13,9 @@
namespace policy {
PolicyMap::Entry::Entry()
- : level(POLICY_LEVEL_RECOMMENDED), scope(POLICY_SCOPE_USER) {}
+ : level(POLICY_LEVEL_RECOMMENDED),
+ scope(POLICY_SCOPE_USER),
+ source(POLICY_SOURCE_ENTERPRISE_DEFAULT) {}
Thiemo Nagel 2017/03/01 14:21:27 Please move initialization to .h file.
Marton Hunyady 2017/03/01 14:37:42 Done, did you mean this?
PolicyMap::Entry::~Entry() = default;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698