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

Unified Diff: chrome/browser/chromeos/policy/cloud_external_data_manager_base.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 | « no previous file | chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/cloud_external_data_manager_base.h
diff --git a/chrome/browser/chromeos/policy/cloud_external_data_manager_base.h b/chrome/browser/chromeos/policy/cloud_external_data_manager_base.h
index f07299f8ba6e0859d8b0a51680bc91b55e91beb1..96c80da017909e22d7f00a272c05ba728d5f1d13 100644
--- a/chrome/browser/chromeos/policy/cloud_external_data_manager_base.h
+++ b/chrome/browser/chromeos/policy/cloud_external_data_manager_base.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/policy/cloud/cloud_external_data_manager.h"
+#include "components/policy/core/common/policy_details.h"
namespace base {
class SequencedTaskRunner;
@@ -20,7 +21,6 @@ namespace policy {
class CloudExternalDataStore;
class ExternalPolicyDataFetcherBackend;
-struct PolicyDefinitionList;
// Downloads, verifies, caches and retrieves external data referenced by
// policies.
@@ -29,12 +29,12 @@ struct PolicyDefinitionList;
class CloudExternalDataManagerBase : public CloudExternalDataManager,
public base::NonThreadSafe {
public:
- // The |policy_definitions| are used to determine the maximum size that the
+ // |get_policy_details| is used to determine the maximum size that the
// data referenced by each policy can have. Download scheduling, verification,
// caching and retrieval tasks are done via the |backend_task_runner|, which
// must support file I/O. Network I/O is done via the |io_task_runner|.
CloudExternalDataManagerBase(
- const PolicyDefinitionList* policy_definitions,
+ const GetChromePolicyDetailsCallback& get_policy_details,
scoped_refptr<base::SequencedTaskRunner> backend_task_runner,
scoped_refptr<base::SequencedTaskRunner> io_task_runner);
virtual ~CloudExternalDataManagerBase();
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698