Commit 0bdea05a authored by gangwu's avatar gangwu Committed by Commit bot

[Sync]Enable new sync URL to link to Chrome Away

Current string: Signed in as [email]. Manage your synced data on Google Dashboard
New strings: Signed in as [email]. Manage your synced data and devices on Chrome Dashboard

BUG=402615

Manual test:
launch chrome by chrome --force-fieldtrials="ChromeDashboard/Enabled/"
log in chrome, and then go to settings, on the top of settings, there should be the new string, click the "Chrome Dashboard", it should bring you to URL("https://google.com/settings/chrome/sync").

Review URL: https://codereview.chromium.org/998413003

Cr-Commit-Position: refs/heads/master@{#320941}
parent 38625727
...@@ -12614,7 +12614,7 @@ Some features may be unavailable. Please check that the profile exists and you ...@@ -12614,7 +12614,7 @@ Some features may be unavailable. Please check that the profile exists and you
Signed in as <ph name="USER_EMAIL_ADDRESS">$1<ex>foo@gmail.com</ex></ph>. Manage your synced data on <ph name="BEGIN_LINK">&lt;a href="$2" target=&quot;_blank&quot;&gt;<ex>&lt;a href="$2" target=&quot;_blank&quot;&gt;</ex></ph>Google Dashboard<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph>. Signed in as <ph name="USER_EMAIL_ADDRESS">$1<ex>foo@gmail.com</ex></ph>. Manage your synced data on <ph name="BEGIN_LINK">&lt;a href="$2" target=&quot;_blank&quot;&gt;<ex>&lt;a href="$2" target=&quot;_blank&quot;&gt;</ex></ph>Google Dashboard<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph>.
</message> </message>
<message name="IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK_NEW" desc="The message that appears in the options dialog indicating that account is syncing to a user with the given email address, together with a link to manage their data (where supported, or not possible through the application)"> <message name="IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK_NEW" desc="The message that appears in the options dialog indicating that account is syncing to a user with the given email address, together with a link to manage their data (where supported, or not possible through the application)">
Signed in as <ph name="USER_EMAIL_ADDRESS">$1<ex>foo@gmail.com</ex></ph>. Manage your synced data and devices on <ph name="BEGIN_LINK">&lt;a href="$2" target=&quot;_blank&quot;&gt;<ex>&lt;a href="$2" target=&quot;_blank&quot;&gt;</ex></ph>chrome.com/sync<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph> Signed in as <ph name="USER_EMAIL_ADDRESS">$1<ex>foo@gmail.com</ex></ph>. Manage your synced data and devices on <ph name="BEGIN_LINK">&lt;a href="$2" target=&quot;_blank&quot;&gt;<ex>&lt;a href="$2" target=&quot;_blank&quot;&gt;</ex></ph>Chrome Dashboard<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph>.
</message> </message>
<message name="IDS_SYNC_AUTHENTICATING_LABEL" desc="Label to display while the user is being authenticated to use sync."> <message name="IDS_SYNC_AUTHENTICATING_LABEL" desc="Label to display while the user is being authenticated to use sync.">
Authenticating... Authenticating...
......
...@@ -99,7 +99,7 @@ base::string16 GetSyncedStateStatusLabel(ProfileSyncService* service, ...@@ -99,7 +99,7 @@ base::string16 GetSyncedStateStatusLabel(ProfileSyncService* service,
return l10n_util::GetStringFUTF16( return l10n_util::GetStringFUTF16(
IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK_NEW, IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK_NEW,
user_name, user_name,
base::ASCIIToUTF16(chrome::kSyncChromeDashboardURL)); base::ASCIIToUTF16(chrome::kSyncGoogleDashboardURL));
} }
return l10n_util::GetStringFUTF16( return l10n_util::GetStringFUTF16(
IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK, IDS_SYNC_ACCOUNT_SYNCING_TO_USER_WITH_MANAGE_LINK,
......
...@@ -367,8 +367,6 @@ const char kExtensionResourceInvalidRequestURL[] = ...@@ -367,8 +367,6 @@ const char kExtensionResourceInvalidRequestURL[] =
const char kSyncGoogleDashboardURL[] = const char kSyncGoogleDashboardURL[] =
"https://www.google.com/settings/chrome/sync/"; "https://www.google.com/settings/chrome/sync/";
const char kSyncChromeDashboardURL[] =
"https://chrome.com/sync/";
const char kPasswordManagerLearnMoreURL[] = const char kPasswordManagerLearnMoreURL[] =
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
......
...@@ -351,7 +351,6 @@ extern const char kExtensionInvalidRequestURL[]; ...@@ -351,7 +351,6 @@ extern const char kExtensionInvalidRequestURL[];
extern const char kExtensionResourceInvalidRequestURL[]; extern const char kExtensionResourceInvalidRequestURL[];
extern const char kSyncGoogleDashboardURL[]; extern const char kSyncGoogleDashboardURL[];
extern const char kSyncChromeDashboardURL[];
extern const char kPasswordManagerLearnMoreURL[]; extern const char kPasswordManagerLearnMoreURL[];
extern const char kPasswordManagerAccountDashboardURL[]; extern const char kPasswordManagerAccountDashboardURL[];
......
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