summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-01 00:36:10 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-01 00:36:10 +0000
commit4c4988d34da6e44b5bb7ae11a000a4c324986c8a (patch)
tree6d0eeea9b1298ab61b6ab3d078e8587c766b37d5 /chrome/browser/notifications/notification.h
parent8098d41c3e482b7ae94ad37a9a0155a9536383e1 (diff)
downloadchromium_src-4c4988d34da6e44b5bb7ae11a000a4c324986c8a.zip
chromium_src-4c4988d34da6e44b5bb7ae11a000a4c324986c8a.tar.gz
chromium_src-4c4988d34da6e44b5bb7ae11a000a4c324986c8a.tar.bz2
notifications: Convert some std::wstring over to string16.
BUG=43899 TEST=compiles, trybots. Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3010028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54484 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications/notification.h')
-rw-r--r--chrome/browser/notifications/notification.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h
index 96fbf7a..49aabf2 100644
--- a/chrome/browser/notifications/notification.h
+++ b/chrome/browser/notifications/notification.h
@@ -17,9 +17,8 @@ class NotificationDelegate;
// data: URLs representing simple text+icon notifications.
class Notification {
public:
- // TODO: http://crbug.com/43899 Convert this class to string16.
Notification(const GURL& origin_url, const GURL& content_url,
- const std::wstring& display_source,
+ const string16& display_source,
const string16& replace_id,
NotificationDelegate* delegate)
: origin_url_(origin_url),
@@ -52,7 +51,7 @@ class Notification {
const GURL& origin_url() const { return origin_url_; }
// A display string for the source of the notification.
- const std::wstring& display_source() const { return display_source_; }
+ const string16& display_source() const { return display_source_; }
const string16& replace_id() const { return replace_id_; }
@@ -76,7 +75,7 @@ class Notification {
// The display string for the source of the notification. Could be
// the same as origin_url_, or the name of an extension.
- std::wstring display_source_;
+ string16 display_source_;
// The replace ID for the notification.
string16 replace_id_;