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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 9959030: Allow hiding of sessions from Other Devices via context menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 9 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/ui/webui/ntp/foreign_session_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 17f1c6728cf710edf9c073eaab364dca498bb3b9..27a22cf0cf56c7c27165e7b5f285a13739db6f1a 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -12,7 +12,6 @@
#include "base/string16.h"
#include "base/string_number_conversions.h"
#include "base/stringprintf.h"
-#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/defaults.h"
@@ -363,6 +362,8 @@ void NTPResourceCache::CreateNewTabHTML() {
localized_strings.SetBoolean("isSuggestionsPageEnabled",
NewTabUI::IsSuggestionsPageEnabled());
localized_strings.SetBoolean("showApps", NewTabUI::ShouldShowApps());
+ localized_strings.SetString("hideSessionMenuItemText",
+ l10n_util::GetStringUTF16(IDS_POLICY_HIDE));
#if defined(OS_CHROMEOS)
localized_strings.SetString("expandMenu",
« no previous file with comments | « chrome/browser/ui/webui/ntp/foreign_session_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698