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

Unified Diff: components/signin/core/account_id/account_id.cc

Issue 2452053002: Rename AccountId method GetGaiaIdKey() to GetAccountIdKey(). (Closed)
Patch Set: Updated comments Created 4 years, 2 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
« no previous file with comments | « components/signin/core/account_id/account_id.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/account_id/account_id.cc
diff --git a/components/signin/core/account_id/account_id.cc b/components/signin/core/account_id/account_id.cc
index 17d0ffd70ec30dcb7faee492991c611207f028c5..00ceb2e2f52bf9f5225ca76c4af50f99e0f58105 100644
--- a/components/signin/core/account_id/account_id.cc
+++ b/components/signin/core/account_id/account_id.cc
@@ -23,7 +23,7 @@ const char kGoogle[] = "google";
const char kGaiaIdKey[] = "gaia_id";
const char kEmailKey[] = "email";
-// Prefix for GetGaiaIdKey().
+// Prefix for GetAccountIdKey().
const char kKeyGaiaIdPrefix[] = "g-";
struct GoogleStringSingleton {
@@ -105,10 +105,10 @@ const std::string& AccountId::GetUserEmail() const {
return user_email_;
}
-const std::string AccountId::GetGaiaIdKey() const {
+const std::string AccountId::GetAccountIdKey() const {
#ifdef NDEBUG
if (gaia_id_.empty())
- LOG(FATAL) << "GetGaiaIdKey(): no gaia id for " << Serialize();
+ LOG(FATAL) << "GetAccountIdKey(): no gaia id for " << Serialize();
#else
CHECK(!gaia_id_.empty());
« no previous file with comments | « components/signin/core/account_id/account_id.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698