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

Unified Diff: printing/printed_document.cc

Issue 24989002: Cleanup: Use base namespace in printing/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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/printed_document.h ('k') | printing/printed_pages_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_document.cc
===================================================================
--- printing/printed_document.cc (revision 224775)
+++ printing/printed_document.cc (working copy)
@@ -176,18 +176,20 @@
if (!g_debug_dump_info.Get().enabled)
return;
- string16 filename;
+ base::string16 filename;
filename += name();
- filename += ASCIIToUTF16("_");
- filename += ASCIIToUTF16(base::StringPrintf("%02d", page.page_number()));
+ filename += base::ASCIIToUTF16("_");
+ filename += base::ASCIIToUTF16(
+ base::StringPrintf("%02d", page.page_number()));
#if defined(OS_WIN)
- filename += ASCIIToUTF16("_.emf");
+ filename += base::ASCIIToUTF16("_.emf");
page.metafile()->SaveTo(
g_debug_dump_info.Get().debug_dump_path.Append(filename));
#else // OS_WIN
- filename += ASCIIToUTF16("_.pdf");
+ filename += base::ASCIIToUTF16("_.pdf");
page.metafile()->SaveTo(
- g_debug_dump_info.Get().debug_dump_path.Append(UTF16ToUTF8(filename)));
+ g_debug_dump_info.Get().debug_dump_path.Append(
+ base::UTF16ToUTF8(filename)));
#endif // OS_WIN
}
« no previous file with comments | « printing/printed_document.h ('k') | printing/printed_pages_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698