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

Unified Diff: printing/page_overlays_unittest.cc

Issue 3292019: Printing: Convert several wstrings to string16. (Closed)
Patch Set: Review fixes. Created 10 years, 3 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 | « printing/page_overlays.cc ('k') | printing/printed_document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/page_overlays_unittest.cc
diff --git a/printing/page_overlays_unittest.cc b/printing/page_overlays_unittest.cc
index a7ea2833acdb6c94999a4ace399f324e27aa3279..3ff8be126193f895a5c11db6d5b61e94c9001bdc 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() {
« no previous file with comments | « printing/page_overlays.cc ('k') | printing/printed_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698