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

Unified Diff: chrome/browser/chromeos/policy/consumer_management_service.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/policy/consumer_management_service.h
diff --git a/chrome/browser/chromeos/policy/consumer_management_service.h b/chrome/browser/chromeos/policy/consumer_management_service.h
index 34c51e6cfd99134c97ced24a8ef78af4a485039a..0664b8cf3e7c406d79e1a4c47e77ae67826c8944 100644
--- a/chrome/browser/chromeos/policy/consumer_management_service.h
+++ b/chrome/browser/chromeos/policy/consumer_management_service.h
@@ -110,7 +110,7 @@ class ConsumerManagementService
// Stores the device owner user ID into the boot lockbox and signs it.
// |callback| is invoked with an agument indicating success or failure.
- void SetOwner(const std::string& user_id, const SetOwnerCallback& callback);
+ void SetOwner(const user_manager::UserID& user_id, const SetOwnerCallback& callback);
// chromeos::DeviceSettingsService::Observer:
void OwnershipStatusChanged() override;

Powered by Google App Engine
This is Rietveld 408576698