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

Unified Diff: chrome/browser/ui/webui/history_ui.cc

Issue 2069183002: [Sync] Add option to remove device from "Other devices" on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Dan's comments. Created 4 years, 5 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 | « chrome/browser/resources/history/other_devices.js ('k') | components/history_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/history_ui.cc
diff --git a/chrome/browser/ui/webui/history_ui.cc b/chrome/browser/ui/webui/history_ui.cc
index aee3c2c6511df8e3d31c0ff2ae3391e0f0849f87..d57ba422b5515998e1df4b8e3781281d4cbe9e68 100644
--- a/chrome/browser/ui/webui/history_ui.cc
+++ b/chrome/browser/ui/webui/history_ui.cc
@@ -73,12 +73,16 @@ content::WebUIDataSource* CreateHistoryUIHTMLSource(Profile* profile) {
content::WebUIDataSource* source =
content::WebUIDataSource::Create(chrome::kChromeUIHistoryFrameHost);
source->AddBoolean("isUserSignedIn", is_authenticated);
+#if !defined(OS_ANDROID)
source->AddLocalizedString("collapseSessionMenuItemText",
IDS_HISTORY_OTHER_SESSIONS_COLLAPSE_SESSION);
source->AddLocalizedString("expandSessionMenuItemText",
IDS_HISTORY_OTHER_SESSIONS_EXPAND_SESSION);
source->AddLocalizedString("restoreSessionMenuItemText",
IDS_HISTORY_OTHER_SESSIONS_OPEN_ALL);
+ source->AddLocalizedString("deleteSessionMenuItemText",
+ IDS_HISTORY_OTHER_SESSIONS_HIDE_FOR_NOW);
+#endif
source->AddLocalizedString("xMore", IDS_HISTORY_OTHER_DEVICES_X_MORE);
source->AddLocalizedString("loading", IDS_HISTORY_LOADING);
source->AddLocalizedString("title", IDS_HISTORY_TITLE);
« no previous file with comments | « chrome/browser/resources/history/other_devices.js ('k') | components/history_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698