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

Side by Side Diff: chromeos/dbus/fake_cryptohome_client.h

Issue 2727713003: Update FWMP in TPM (Closed)
Patch Set: Nits Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_cryptohome_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void SetBootAttribute(const cryptohome::SetBootAttributeRequest& request, 193 void SetBootAttribute(const cryptohome::SetBootAttributeRequest& request,
194 const ProtobufMethodCallback& callback) override; 194 const ProtobufMethodCallback& callback) override;
195 void FlushAndSignBootAttributes( 195 void FlushAndSignBootAttributes(
196 const cryptohome::FlushAndSignBootAttributesRequest& request, 196 const cryptohome::FlushAndSignBootAttributesRequest& request,
197 const ProtobufMethodCallback& callback) override; 197 const ProtobufMethodCallback& callback) override;
198 void MigrateToDircrypto(const cryptohome::Identification& cryptohome_id, 198 void MigrateToDircrypto(const cryptohome::Identification& cryptohome_id,
199 const cryptohome::AuthorizationRequest& auth, 199 const cryptohome::AuthorizationRequest& auth,
200 const VoidDBusMethodCallback& callback) override; 200 const VoidDBusMethodCallback& callback) override;
201 void SetDircryptoMigrationProgressHandler( 201 void SetDircryptoMigrationProgressHandler(
202 const DircryptoMigrationProgessHandler& handler) override; 202 const DircryptoMigrationProgessHandler& handler) override;
203 void RemoveFirmwareManagementParametersFromTpm(
204 const cryptohome::RemoveFirmwareManagementParametersRequest& request,
205 const ProtobufMethodCallback& callback) override;
206 void SetFirmwareManagementParametersInTpm(
207 const cryptohome::SetFirmwareManagementParametersRequest& request,
208 const ProtobufMethodCallback& callback) override;
203 209
204 // Changes the behavior of WaitForServiceToBeAvailable(). This method runs 210 // Changes the behavior of WaitForServiceToBeAvailable(). This method runs
205 // pending callbacks if is_available is true. 211 // pending callbacks if is_available is true.
206 void SetServiceIsAvailable(bool is_available); 212 void SetServiceIsAvailable(bool is_available);
207 213
208 // Sets the unmount result of Unmount() call. 214 // Sets the unmount result of Unmount() call.
209 void set_unmount_result(bool result) { 215 void set_unmount_result(bool result) {
210 unmount_result_ = result; 216 unmount_result_ = result;
211 } 217 }
212 218
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 std::map<std::string, std::vector<uint8_t>> install_attrs_; 261 std::map<std::string, std::vector<uint8_t>> install_attrs_;
256 bool locked_; 262 bool locked_;
257 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; 263 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_;
258 264
259 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); 265 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient);
260 }; 266 };
261 267
262 } // namespace chromeos 268 } // namespace chromeos
263 269
264 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ 270 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698