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

Unified Diff: chrome/browser/download/download_shelf_context_menu.cc

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/download/download_shelf_context_menu.cc
diff --git a/chrome/browser/download/download_shelf_context_menu.cc b/chrome/browser/download/download_shelf_context_menu.cc
index d1138d235f7e98660a98bab593e619a87e10260d..bd98ff221d2904a94edc81b7d2ed6412d9328f61 100644
--- a/chrome/browser/download/download_shelf_context_menu.cc
+++ b/chrome/browser/download/download_shelf_context_menu.cc
@@ -215,7 +215,8 @@ bool DownloadShelfContextMenu::IsItemForCommandIdDynamic(int command_id) const {
return command_id == TOGGLE_PAUSE;
}
-string16 DownloadShelfContextMenu::GetLabelForCommandId(int command_id) const {
+base::string16 DownloadShelfContextMenu::GetLabelForCommandId(
+ int command_id) const {
switch (static_cast<ContextMenuCommands>(command_id)) {
case SHOW_IN_FOLDER:
return l10n_util::GetStringUTF16(IDS_DOWNLOAD_MENU_SHOW);
@@ -248,7 +249,7 @@ string16 DownloadShelfContextMenu::GetLabelForCommandId(int command_id) const {
IDS_DOWNLOAD_MENU_LEARN_MORE_INTERRUPTED);
}
NOTREACHED();
- return string16();
+ return base::string16();
}
void DownloadShelfContextMenu::DetachFromDownloadItem() {
« no previous file with comments | « chrome/browser/download/download_shelf_context_menu.h ('k') | chrome/browser/download/download_status_updater_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698