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

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

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/policy_loader_win.cc
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc
index 279a936cf9b3d4dab4286d245e8b753b10f2c77c..3516754f1460de3ba8267ca7506f6a07c1ed7ca8 100644
--- a/components/policy/core/common/policy_loader_win.cc
+++ b/components/policy/core/common/policy_loader_win.cc
@@ -44,7 +44,6 @@
#include "components/policy/core/common/policy_load_status.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_namespace.h"
-#include "components/policy/core/common/policy_types.h"
#include "components/policy/core/common/preg_parser_win.h"
#include "components/policy/core/common/registry_dict_win.h"
#include "components/policy/core/common/schema.h"
@@ -172,7 +171,7 @@
}
if (invalid_policies) {
policy->Set(key::kExtensionInstallForcelist,
- map_entry->level, map_entry->scope, map_entry->source,
+ map_entry->level, map_entry->scope,
filtered_values.release(),
map_entry->external_data_fetcher);
@@ -330,7 +329,7 @@
return;
}
- policy->LoadFrom(policy_dict, level, scope, POLICY_SOURCE_PLATFORM);
+ policy->LoadFrom(policy_dict, level, scope);
}
// Collects stats about the enterprise environment that can be used to decide

Powered by Google App Engine
This is Rietveld 408576698