Commit 26516b1d authored by Mark Edward Winter's avatar Mark Edward Winter Committed by Chromium LUCI CQ

Fix typo obfudscated -> obfuscated

Fixed the typo of obfuscated in the field obfudscated_gaia_id in ChromeSignedInUser

R=zmin@chromium.org

Bug: 1036237
Change-Id: Ic39fce4d836af6cf3f69fed9a061330127f87b2b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2636004
Commit-Queue: Owen Min <zmin@chromium.org>
Reviewed-by: default avatarOwen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844796}
parent eec91a77
...@@ -670,6 +670,7 @@ Mario Sanchez Prada <mario.prada@samsung.com> ...@@ -670,6 +670,7 @@ Mario Sanchez Prada <mario.prada@samsung.com>
Mariusz Mlynski <marius.mlynski@gmail.com> Mariusz Mlynski <marius.mlynski@gmail.com>
Mark Hahnenberg <mhahnenb@andrew.cmu.edu> Mark Hahnenberg <mhahnenb@andrew.cmu.edu>
Mark Seaborn <mrs@mythic-beasts.com> Mark Seaborn <mrs@mythic-beasts.com>
Mark Winter <wintermarkedward@gmail.com>
Martijn Croonen <martijn@martijnc.be> Martijn Croonen <martijn@martijnc.be>
Martin Bednorz <m.s.bednorz@gmail.com> Martin Bednorz <m.s.bednorz@gmail.com>
Martin Persson <mnpn03@gmail.com> Martin Persson <mnpn03@gmail.com>
......
...@@ -73,7 +73,7 @@ void ProfileReportGeneratorDesktop::GetSigninUserInfo( ...@@ -73,7 +73,7 @@ void ProfileReportGeneratorDesktop::GetSigninUserInfo(
return; return;
auto* signed_in_user_info = report->mutable_chrome_signed_in_user(); auto* signed_in_user_info = report->mutable_chrome_signed_in_user();
signed_in_user_info->set_email(account_info.email); signed_in_user_info->set_email(account_info.email);
signed_in_user_info->set_obfudscated_gaia_id(account_info.gaia); signed_in_user_info->set_obfuscated_gaia_id(account_info.gaia);
} }
void ProfileReportGeneratorDesktop::GetExtensionInfo( void ProfileReportGeneratorDesktop::GetExtensionInfo(
......
...@@ -173,7 +173,7 @@ TEST_F(ProfileReportGeneratorTest, SignedInProfile) { ...@@ -173,7 +173,7 @@ TEST_F(ProfileReportGeneratorTest, SignedInProfile) {
EXPECT_TRUE(report->has_chrome_signed_in_user()); EXPECT_TRUE(report->has_chrome_signed_in_user());
EXPECT_EQ(expected_info.email, report->chrome_signed_in_user().email()); EXPECT_EQ(expected_info.email, report->chrome_signed_in_user().email());
EXPECT_EQ(expected_info.gaia, EXPECT_EQ(expected_info.gaia,
report->chrome_signed_in_user().obfudscated_gaia_id()); report->chrome_signed_in_user().obfuscated_gaia_id());
} }
TEST_F(ProfileReportGeneratorTest, PoliciesDisabled) { TEST_F(ProfileReportGeneratorTest, PoliciesDisabled) {
......
...@@ -1621,7 +1621,7 @@ message ChromeSignedInUser { ...@@ -1621,7 +1621,7 @@ message ChromeSignedInUser {
// The email of the signed in user. // The email of the signed in user.
optional string email = 1; optional string email = 1;
// The obfuscated GaiaID of the signed in user. // The obfuscated GaiaID of the signed in user.
optional string obfudscated_gaia_id = 2; optional string obfuscated_gaia_id = 2;
} }
// Extension request information. // Extension request information.
......
...@@ -50,7 +50,7 @@ void ProfileReportGeneratorIOS::GetSigninUserInfo( ...@@ -50,7 +50,7 @@ void ProfileReportGeneratorIOS::GetSigninUserInfo(
auto* signed_in_user_info = report->mutable_chrome_signed_in_user(); auto* signed_in_user_info = report->mutable_chrome_signed_in_user();
signed_in_user_info->set_email( signed_in_user_info->set_email(
base::SysNSStringToUTF8(account_info.userEmail)); base::SysNSStringToUTF8(account_info.userEmail));
signed_in_user_info->set_obfudscated_gaia_id( signed_in_user_info->set_obfuscated_gaia_id(
base::SysNSStringToUTF8(account_info.hashedGaiaID)); base::SysNSStringToUTF8(account_info.hashedGaiaID));
} }
......
...@@ -141,7 +141,7 @@ TEST_F(ProfileReportGeneratorIOSTest, SignedInProfile) { ...@@ -141,7 +141,7 @@ TEST_F(ProfileReportGeneratorIOSTest, SignedInProfile) {
EXPECT_TRUE(report->has_chrome_signed_in_user()); EXPECT_TRUE(report->has_chrome_signed_in_user());
EXPECT_EQ(kAccount + "@gmail.com", report->chrome_signed_in_user().email()); EXPECT_EQ(kAccount + "@gmail.com", report->chrome_signed_in_user().email());
EXPECT_EQ(kAccount + "_hashID", EXPECT_EQ(kAccount + "_hashID",
report->chrome_signed_in_user().obfudscated_gaia_id()); report->chrome_signed_in_user().obfuscated_gaia_id());
} }
TEST_F(ProfileReportGeneratorIOSTest, PoliciesReportedOnlyWhenEnabled) { TEST_F(ProfileReportGeneratorIOSTest, PoliciesReportedOnlyWhenEnabled) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment