summaryrefslogtreecommitdiffstats
path: root/printing/page_overlays_unittest.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-13 19:39:19 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-13 19:39:19 +0000
commitd9d42998427a6204ddbc5929acc5e4c13c939b07 (patch)
tree48f4193243f2bb2a08ae59f474b20b38ce5c6e93 /printing/page_overlays_unittest.cc
parent609706121877c28ca2a80c7810e63a47e68806e3 (diff)
downloadchromium_src-d9d42998427a6204ddbc5929acc5e4c13c939b07.zip
chromium_src-d9d42998427a6204ddbc5929acc5e4c13c939b07.tar.gz
chromium_src-d9d42998427a6204ddbc5929acc5e4c13c939b07.tar.bz2
Printing: Convert several wstrings to string16.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3292019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/page_overlays_unittest.cc')
-rw-r--r--printing/page_overlays_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/printing/page_overlays_unittest.cc b/printing/page_overlays_unittest.cc
index a7ea283..3ff8be1 100644
--- a/printing/page_overlays_unittest.cc
+++ b/printing/page_overlays_unittest.cc
@@ -3,7 +3,9 @@
// found in the LICENSE file.
#include "base/message_loop.h"
+#include "base/string16.h"
#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
#include "printing/page_overlays.h"
#include "printing/print_settings.h"
#include "printing/printed_document.h"
@@ -30,8 +32,8 @@ const Keys kOverlayKeys[] = {
class PagesSource : public printing::PrintedPagesSource {
public:
- virtual std::wstring RenderSourceName() {
- return L"Foobar Document";
+ virtual string16 RenderSourceName() {
+ return ASCIIToUTF16("Foobar Document");
}
virtual GURL RenderSourceUrl() {