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

Unified Diff: chrome/browser/chromeos/settings/session_manager_operation.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/chromeos/settings/session_manager_operation.h
diff --git a/chrome/browser/chromeos/settings/session_manager_operation.h b/chrome/browser/chromeos/settings/session_manager_operation.h
index 4c96fe4229f79ab0659c85977d883c9c79f33ee6..3c68509e6a5485bd9769fcad5850adc7ee4c9c98 100644
--- a/chrome/browser/chromeos/settings/session_manager_operation.h
+++ b/chrome/browser/chromeos/settings/session_manager_operation.h
@@ -14,6 +14,7 @@
namespace enterprise_management {
class ChromeDeviceSettingsProto;
class PolicyData;
+class PolicyFetchResponse;
}
namespace chromeos {
@@ -139,8 +140,9 @@ class LoadSettingsOperation : public SessionManagerOperation {
class StoreSettingsOperation : public SessionManagerOperation {
public:
// Creates a new store operation.
- StoreSettingsOperation(const Callback& callback,
- const std::string& policy_blob);
+ StoreSettingsOperation(
+ const Callback& callback,
+ scoped_ptr<enterprise_management::PolicyFetchResponse> policy);
virtual ~StoreSettingsOperation();
protected:
@@ -151,7 +153,7 @@ class StoreSettingsOperation : public SessionManagerOperation {
// Handles the result of the store operation and triggers the load.
void HandleStoreResult(bool success);
- std::string policy_blob_;
+ scoped_ptr<enterprise_management::PolicyFetchResponse> policy_;
base::WeakPtrFactory<StoreSettingsOperation> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698