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

Unified Diff: chrome/browser/chromeos/attestation/platform_verification_flow.h

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/attestation/platform_verification_flow.h
diff --git a/chrome/browser/chromeos/attestation/platform_verification_flow.h b/chrome/browser/chromeos/attestation/platform_verification_flow.h
index eaa6abb1c7a2e87120242e1b17c193c3c597355e..4d33ca53a903b262da996cdf962d194cb651c593 100644
--- a/chrome/browser/chromeos/attestation/platform_verification_flow.h
+++ b/chrome/browser/chromeos/attestation/platform_verification_flow.h
@@ -25,6 +25,7 @@ class AsyncMethodCaller;
namespace user_manager {
class User;
+class UserID;
}
namespace chromeos {
@@ -169,7 +170,7 @@ class PlatformVerificationFlow
// key for the same user and service will be ignored and a new key will be
// generated and certified.
void GetCertificate(const ChallengeContext& context,
- const std::string& user_id,
+ const user_manager::UserID& user_id,
bool force_new_key);
// A callback called when an attestation certificate request operation
@@ -182,7 +183,7 @@ class PlatformVerificationFlow
// method being called, this method does nothing - notably, the callback is
// not invoked.
void OnCertificateReady(const ChallengeContext& context,
- const std::string& user_id,
+ const user_manager::UserID& user_id,
scoped_ptr<base::Timer> timer,
bool operation_success,
const std::string& certificate);

Powered by Google App Engine
This is Rietveld 408576698