Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_remover.cc |
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc |
| index 685907cb44c6543f64d9dba51715189f02fdcfec..b6c4307fa2cca554691fa505c9db067c64d078ac 100644 |
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc |
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc |
| @@ -88,6 +88,7 @@ |
| #if defined(OS_CHROMEOS) |
| #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| #include "chromeos/attestation/attestation_constants.h" |
| +#include "chromeos/cryptohome/cryptohome_parameters.h" |
| #include "chromeos/dbus/cryptohome_client.h" |
| #include "chromeos/dbus/dbus_thread_manager.h" |
| #include "components/user_manager/user.h" |
| @@ -852,7 +853,8 @@ void BrowsingDataRemover::RemoveImpl(const TimeRange& time_range, |
| chromeos::DBusThreadManager::Get() |
| ->GetCryptohomeClient() |
| ->TpmAttestationDeleteKeys( |
| - chromeos::attestation::KEY_USER, user->email(), |
| + chromeos::attestation::KEY_USER, |
| + cryptohome::Identification(user->GetAccountId()).id(), |
|
Darren Krahn
2016/02/17 20:48:05
Moving cryptohome::Identification to chromeos/dbus
Alexander Alekseev
2016/02/18 13:45:14
Yes.
|
| chromeos::attestation::kContentProtectionKeyPrefix, |
| base::Bind(&BrowsingDataRemover::OnClearPlatformKeys, |
| weak_ptr_factory_.GetWeakPtr())); |