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

Side by Side Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos.h

Issue 2488573003: Expose signing key from cloud policy stores (Closed)
Patch Set: Simplify changes in DeviceLocalAccountPolicyStore Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 chromeos::SessionManagerClient* session_manager_client_; 127 chromeos::SessionManagerClient* session_manager_client_;
128 const AccountId account_id_; 128 const AccountId account_id_;
129 base::FilePath user_policy_key_dir_; 129 base::FilePath user_policy_key_dir_;
130 130
131 // TODO(mnissler): Remove all the legacy policy support members below after 131 // TODO(mnissler): Remove all the legacy policy support members below after
132 // the number of pre-M20 clients drops back to zero. 132 // the number of pre-M20 clients drops back to zero.
133 base::FilePath legacy_cache_dir_; 133 base::FilePath legacy_cache_dir_;
134 std::unique_ptr<LegacyPolicyCacheLoader> legacy_loader_; 134 std::unique_ptr<LegacyPolicyCacheLoader> legacy_loader_;
135 bool legacy_caches_loaded_; 135 bool legacy_caches_loaded_;
136 136
137 const std::string owning_domain_;
138
137 bool policy_key_loaded_; 139 bool policy_key_loaded_;
138 base::FilePath policy_key_path_; 140 base::FilePath policy_key_path_;
139 std::string policy_key_;
140 141
141 base::WeakPtrFactory<UserCloudPolicyStoreChromeOS> weak_factory_; 142 base::WeakPtrFactory<UserCloudPolicyStoreChromeOS> weak_factory_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS); 144 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyStoreChromeOS);
144 }; 145 };
145 146
146 } // namespace policy 147 } // namespace policy
147 148
148 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_ 149 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_STORE_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698