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

Unified Diff: chrome/browser/chromeos/policy/device_local_account_external_data_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/device_local_account_external_data_service.h
diff --git a/chrome/browser/chromeos/policy/device_local_account_external_data_service.h b/chrome/browser/chromeos/policy/device_local_account_external_data_service.h
index 15400ae5d707ffba984af15536943b1325c44c50..c308702fe956ed7eff35a306f345650682c4d758 100644
--- a/chrome/browser/chromeos/policy/device_local_account_external_data_service.h
+++ b/chrome/browser/chromeos/policy/device_local_account_external_data_service.h
@@ -20,6 +20,10 @@ namespace base {
class SequencedTaskRunner;
}
+namespace user_manager {
+class UserID;
+}
+
namespace policy {
class CloudPolicyStore;
@@ -36,7 +40,7 @@ class DeviceLocalAccountExternalDataService
~DeviceLocalAccountExternalDataService() override;
// DeviceLocalAccountPolicyService::Observer:
- void OnPolicyUpdated(const std::string& user_id) override;
+ void OnPolicyUpdated(const user_manager::UserID& user_id) override;
void OnDeviceLocalAccountsChanged() override;
scoped_refptr<DeviceLocalAccountExternalDataManager>

Powered by Google App Engine
This is Rietveld 408576698