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

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

Issue 2724763002: Initialize source field of PolicyMap::Entry (Closed)
Patch Set: Move default values to header file. 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 | « components/policy/core/common/policy_map.h ('k') | 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..1549ccfba194dc8b00c2fa87f9379b0887233d0a 100644
--- a/components/policy/core/common/policy_map.cc
+++ b/components/policy/core/common/policy_map.cc
@@ -12,8 +12,7 @@
namespace policy {
-PolicyMap::Entry::Entry()
- : level(POLICY_LEVEL_RECOMMENDED), scope(POLICY_SCOPE_USER) {}
+PolicyMap::Entry::Entry() = default;
PolicyMap::Entry::~Entry() = default;
« no previous file with comments | « components/policy/core/common/policy_map.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698