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..7f1907919eda9f5529e31057aa888308f6a9a973 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()), |
chromeos::attestation::kContentProtectionKeyPrefix, |
base::Bind(&BrowsingDataRemover::OnClearPlatformKeys, |
weak_ptr_factory_.GetWeakPtr())); |