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

Unified Diff: chrome/browser/sync/profile_sync_service_android.cc

Issue 2393643004: [MD Settings][People] Updates positions of username and sync status message (Closed)
Patch Set: 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
Index: chrome/browser/sync/profile_sync_service_android.cc
diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc
index 601eca2a18cfdd8114aa4c27b57e09189dfe767c..38b3bd2e9cae880885da7ee99ef94a41c79dacf0 100644
--- a/chrome/browser/sync/profile_sync_service_android.cc
+++ b/chrome/browser/sync/profile_sync_service_android.cc
@@ -441,14 +441,8 @@ ProfileSyncServiceAndroid::GetCurrentSignedInAccountText(
JNIEnv* env,
const JavaParamRef<jobject>&) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- const std::string& sync_username =
- SigninManagerFactory::GetForProfile(profile_)
- ->GetAuthenticatedAccountInfo()
- .email;
return base::android::ConvertUTF16ToJavaString(env,
- l10n_util::GetStringFUTF16(
- IDS_SYNC_ACCOUNT_SYNCING_TO_USER,
- base::ASCIIToUTF16(sync_username)));
+ l10n_util::GetStringUTF16(IDS_SYNC_ACCOUNT_SYNCING));
maxbogue 2016/10/05 15:56:23 I believe that since this no longer needs to inser
Moe 2016/10/05 18:52:45 I don't have the setup to build and test android.
}
ScopedJavaLocalRef<jstring>

Powered by Google App Engine
This is Rietveld 408576698