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

Unified Diff: chrome/browser/chromeos/policy/policy_cert_service.cc

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/policy/policy_cert_service.cc
diff --git a/chrome/browser/chromeos/policy/policy_cert_service.cc b/chrome/browser/chromeos/policy/policy_cert_service.cc
index ed503b5b4c39b1e76ea08d337b2885da292ff456..d8e62bb587588c9ee865490e3eb746780d08a1c7 100644
--- a/chrome/browser/chromeos/policy/policy_cert_service.cc
+++ b/chrome/browser/chromeos/policy/policy_cert_service.cc
@@ -21,7 +21,7 @@ PolicyCertService::~PolicyCertService() {
}
PolicyCertService::PolicyCertService(
- const std::string& user_id,
+ const user_manager::UserID& user_id,
UserNetworkConfigurationUpdater* net_conf_updater,
user_manager::UserManager* user_manager)
: cert_verifier_(NULL),
@@ -34,7 +34,7 @@ PolicyCertService::PolicyCertService(
DCHECK(user_manager_);
}
-PolicyCertService::PolicyCertService(const std::string& user_id,
+PolicyCertService::PolicyCertService(const user_manager::UserID& user_id,
PolicyCertVerifier* verifier,
user_manager::UserManager* user_manager)
: cert_verifier_(verifier),
@@ -108,7 +108,7 @@ void PolicyCertService::Shutdown() {
// static
scoped_ptr<PolicyCertService> PolicyCertService::CreateForTesting(
- const std::string& user_id,
+ const user_manager::UserID& user_id,
PolicyCertVerifier* verifier,
user_manager::UserManager* user_manager) {
return make_scoped_ptr(

Powered by Google App Engine
This is Rietveld 408576698