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

Unified Diff: components/user_manager/empty_user_info.cc

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Fix Win GN build. Created 5 years, 1 month 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
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/fake_user_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/empty_user_info.cc
diff --git a/components/user_manager/empty_user_info.cc b/components/user_manager/empty_user_info.cc
index ab886f179015a84314061afea70a2e6debf7ef6f..08d4a19f84512611c8c396ae56b71d5177bb719e 100644
--- a/components/user_manager/empty_user_info.cc
+++ b/components/user_manager/empty_user_info.cc
@@ -6,6 +6,7 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
+#include "components/signin/core/account_id/account_id.h"
namespace user_manager {
@@ -30,9 +31,9 @@ std::string EmptyUserInfo::GetEmail() const {
return std::string();
}
-std::string EmptyUserInfo::GetUserID() const {
+AccountId EmptyUserInfo::GetAccountId() const {
NOTIMPLEMENTED();
- return std::string();
+ return EmptyAccountId();
}
const gfx::ImageSkia& EmptyUserInfo::GetImage() const {
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/fake_user_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698