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

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

Issue 10885015: Implement new-style CloudPolicyStore for Chrome OS device policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, fix compilation. Created 8 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: chrome/browser/policy/device_policy_cache.h
diff --git a/chrome/browser/policy/device_policy_cache.h b/chrome/browser/policy/device_policy_cache.h
index 0f52fd81b10f906fa089682498b26fe0204acb69..e8380ff314180dfaee56564f4f61bda9667920fe 100644
--- a/chrome/browser/policy/device_policy_cache.h
+++ b/chrome/browser/policy/device_policy_cache.h
@@ -5,6 +5,10 @@
#ifndef CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
#define CHROME_BROWSER_POLICY_DEVICE_POLICY_CACHE_H_
+#include <string>
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/settings/device_settings_service.h"
#include "chrome/browser/policy/cloud_policy_cache_base.h"
@@ -75,32 +79,6 @@ class DevicePolicyCache : public CloudPolicyCacheBase,
// that is the case.
void CheckFetchingDone();
- void DecodeDevicePolicy(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies);
-
- // Decode the various groups of policies.
- static void DecodeLoginPolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies);
- static void DecodeKioskPolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies,
- EnterpriseInstallAttributes* install_attributes);
- static void DecodeNetworkPolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies,
- EnterpriseInstallAttributes* install_attributes);
- static void DecodeReportingPolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies);
- static void DecodeAutoUpdatePolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies);
- static void DecodeGenericPolicies(
- const enterprise_management::ChromeDeviceSettingsProto& policy,
- PolicyMap* policies);
-
CloudPolicyDataStore* data_store_;
EnterpriseInstallAttributes* install_attributes_;
« no previous file with comments | « chrome/browser/policy/device_cloud_policy_store_chromeos_unittest.cc ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698