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

Unified Diff: chrome/browser/policy/policy_loader_win.h

Issue 58313002: Removed the PolicyDefinitionList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrome-policy-schema-10-use-registry
Patch Set: rebase Created 7 years, 1 month 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 | « chrome/browser/policy/policy_loader_mac_unittest.cc ('k') | chrome/browser/policy/policy_loader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_loader_win.h
diff --git a/chrome/browser/policy/policy_loader_win.h b/chrome/browser/policy/policy_loader_win.h
index 3b6f13a5e2c99ebbd0a7bcb95974bc8df1b68455..d6453c1f1659b58628d9dbae5c856e700566a3a5 100644
--- a/chrome/browser/policy/policy_loader_win.h
+++ b/chrome/browser/policy/policy_loader_win.h
@@ -28,7 +28,6 @@ class AppliedGPOListProvider;
class PolicyLoadStatusSample;
class PolicyMap;
class RegistryDict;
-struct PolicyDefinitionList;
// Interface for mocking out GPO enumeration in tests.
class AppliedGPOListProvider {
@@ -51,15 +50,13 @@ class PolicyLoaderWin : public AsyncPolicyLoader,
static const base::FilePath::CharType kPRegFileName[];
PolicyLoaderWin(scoped_refptr<base::SequencedTaskRunner> task_runner,
- const PolicyDefinitionList* policy_list,
const string16& chrome_policy_key,
AppliedGPOListProvider* gpo_provider);
virtual ~PolicyLoaderWin();
// Creates a policy loader that uses the Win API to access GPO.
static scoped_ptr<PolicyLoaderWin> Create(
- scoped_refptr<base::SequencedTaskRunner> task_runner,
- const PolicyDefinitionList* policy_list);
+ scoped_refptr<base::SequencedTaskRunner> task_runner);
// AsyncPolicyLoader implementation.
virtual void InitOnBackgroundThread() OVERRIDE;
@@ -110,7 +107,6 @@ class PolicyLoaderWin : public AsyncPolicyLoader,
virtual void OnObjectSignaled(HANDLE object) OVERRIDE;
bool is_initialized_;
- const PolicyDefinitionList* policy_list_;
const string16 chrome_policy_key_;
class AppliedGPOListProvider* gpo_provider_;
base::DictionaryValue chrome_policy_schema_;
« no previous file with comments | « chrome/browser/policy/policy_loader_mac_unittest.cc ('k') | chrome/browser/policy/policy_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698