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

Unified Diff: chrome/browser/download/download_item_model.h

Issue 5959008: Remove wstring from l10n_util. Part 2.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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_item_model.h
===================================================================
--- chrome/browser/download/download_item_model.h (revision 70233)
+++ chrome/browser/download/download_item_model.h (working copy)
@@ -9,6 +9,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/string16.h"
class DownloadItem;
class SavePackage;
@@ -25,7 +26,7 @@
virtual void CancelTask() = 0;
// Get the status text to display.
- virtual std::wstring GetStatusText() = 0;
+ virtual string16 GetStatusText() = 0;
DownloadItem* download() { return download_; }
@@ -45,7 +46,7 @@
virtual void CancelTask();
// Get downloading status text.
- virtual std::wstring GetStatusText();
+ virtual string16 GetStatusText();
private:
DISALLOW_COPY_AND_ASSIGN(DownloadItemModel);
@@ -63,7 +64,7 @@
virtual void CancelTask();
// Get page saving status text.
- virtual std::wstring GetStatusText();
+ virtual string16 GetStatusText();
private:
// Saving page management.

Powered by Google App Engine
This is Rietveld 408576698