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

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: Created 8 years, 4 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..8692923a8a1d931ab5f08242453c52424eb4ee5c 100644
--- a/chrome/browser/chromeos/settings/session_manager_operation.h
+++ b/chrome/browser/chromeos/settings/session_manager_operation.h
@@ -139,8 +139,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);
Joao da Silva 2012/08/28 19:56:57 PolicyFetchResponse needs a forward declaration
Mattias Nissler (ping if slow) 2012/08/31 14:13:18 Done.
virtual ~StoreSettingsOperation();
protected:
@@ -151,7 +152,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