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

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

Issue 108513011: Move chrome/app/policy into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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') | components/policy/resources/OWNERS » ('j') | 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 40cf73352f7970c7e67e1e52d39681a7fe17633d..ffcdf43dcc1bad91f981dbacaf291da3cff08e7e 100644
--- a/components/policy/core/common/policy_map.cc
+++ b/components/policy/core/common/policy_map.cc
@@ -11,6 +11,12 @@
namespace policy {
+PolicyMap::Entry::Entry()
+ : level(POLICY_LEVEL_RECOMMENDED),
+ scope(POLICY_SCOPE_USER),
+ value(NULL),
+ external_data_fetcher(NULL) {}
+
void PolicyMap::Entry::DeleteOwnedMembers() {
delete value;
value = NULL;
« no previous file with comments | « components/policy/core/common/policy_map.h ('k') | components/policy/resources/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698