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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h

Issue 116273002: Added support for signed policy blobs on desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for ios. Created 6 years, 11 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/policy/user_cloud_policy_store_chromeos.h
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
index 1e7886964763d6a35a93b566f1366c8aef835c11..36542cd5f868b238d96d409feaa83013582a90f2 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h
@@ -105,10 +105,10 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
// Reads the contents of |path| into |key|.
static void LoadPolicyKey(const base::FilePath& path,
- std::vector<uint8>* key);
+ std::string* key);
// Callback for the key reloading.
- void OnPolicyKeyReloaded(std::vector<uint8>* key,
+ void OnPolicyKeyReloaded(std::string* key,
const base::Closure& callback);
// Invokes |callback| after creating |policy_key_|, if it hasn't been created
@@ -135,7 +135,7 @@ class UserCloudPolicyStoreChromeOS : public UserCloudPolicyStoreBase {
bool policy_key_loaded_;
base::FilePath policy_key_path_;
- std::vector<uint8> policy_key_;
+ std::string policy_key_;
DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS);
};

Powered by Google App Engine
This is Rietveld 408576698