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

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

Issue 102493002: Use schemas bundled in extensions to convert policies loaded on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: components/policy/core/common/policy_loader_win.h
diff --git a/components/policy/core/common/policy_loader_win.h b/components/policy/core/common/policy_loader_win.h
index 4e86b0c4e4c6578b658f6cc78c4abe4d76325998..0a49f6d0d3044ba7a6e36ab84188b24ca7187e30 100644
--- a/components/policy/core/common/policy_loader_win.h
+++ b/components/policy/core/common/policy_loader_win.h
@@ -14,7 +14,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "base/synchronization/waitable_event.h"
-#include "base/values.h"
#include "base/win/object_watcher.h"
#include "components/policy/core/common/async_policy_loader.h"
#include "components/policy/core/common/policy_types.h"
@@ -67,9 +66,6 @@ class POLICY_EXPORT PolicyLoaderWin
virtual scoped_ptr<PolicyBundle> Load() OVERRIDE;
private:
- // Builds the Chrome policy schema in |chrome_policy_schema_|.
- void BuildChromePolicySchema();
-
// Reads Chrome Policy from a PReg file at the given path and stores the
// result in |policy|.
bool ReadPRegFile(const base::FilePath& preg_file,
@@ -113,7 +109,6 @@ class POLICY_EXPORT PolicyLoaderWin
bool is_initialized_;
const string16 chrome_policy_key_;
class AppliedGPOListProvider* gpo_provider_;
- base::DictionaryValue chrome_policy_schema_;
base::WaitableEvent user_policy_changed_event_;
base::WaitableEvent machine_policy_changed_event_;

Powered by Google App Engine
This is Rietveld 408576698