summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/printing_layout_browsertest.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-24 21:14:53 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-24 21:14:53 +0000
commit47e870bf26f0c01dafe611ec03c0139c735063df (patch)
tree43b29b36654d896cf3fd1bd3cc27b830c63522b0 /chrome/browser/printing/printing_layout_browsertest.cc
parent883844f40f19b80880e0730a8e2836e6383d1400 (diff)
downloadchromium_src-47e870bf26f0c01dafe611ec03c0139c735063df.zip
chromium_src-47e870bf26f0c01dafe611ec03c0139c735063df.tar.gz
chromium_src-47e870bf26f0c01dafe611ec03c0139c735063df.tar.bz2
Revert 184352
> Add utf_string_conversions to base namespace. > > This adds "using"s for all functions so those can be fixed in a separate pass. > > This converts the "Wide" versions of the functions in the Chrome directory as a first pass on the changeover. > > BUG= > > Review URL: https://codereview.chromium.org/12314090 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/12315071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/printing_layout_browsertest.cc')
-rw-r--r--chrome/browser/printing/printing_layout_browsertest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/printing/printing_layout_browsertest.cc b/chrome/browser/printing/printing_layout_browsertest.cc
index c930ac0..73053ac 100644
--- a/chrome/browser/printing/printing_layout_browsertest.cc
+++ b/chrome/browser/printing/printing_layout_browsertest.cc
@@ -141,7 +141,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
Image png_content(png);
double diff_emf = emf_content.PercentageDifferent(test_content);
- EXPECT_EQ(0., diff_emf) << base::WideToUTF8(verification_name) <<
+ EXPECT_EQ(0., diff_emf) << WideToUTF8(verification_name) <<
" original size:" << emf_content.size().ToString() <<
" result size:" << test_content.size().ToString();
if (diff_emf) {
@@ -154,7 +154,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
// This verification is only to know that the EMF rendering stays
// immutable.
double diff_png = emf_content.PercentageDifferent(png_content);
- EXPECT_EQ(0., diff_png) << base::WideToUTF8(verification_name) <<
+ EXPECT_EQ(0., diff_png) << WideToUTF8(verification_name) <<
" original size:" << emf_content.size().ToString() <<
" result size:" << test_content.size().ToString();
if (diff_png) {
@@ -204,7 +204,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
base::FilePath file;
while (!(file = enumerator.Next()).empty()) {
std::wstring ext = file.Extension();
- if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".emf") == 0) {
+ if (base::strcasecmp(WideToUTF8(ext).c_str(), ".emf") == 0) {
EXPECT_FALSE(found_emf) << "Found a leftover .EMF file: \"" <<
emf_file << "\" and \"" << file.value() <<
"\" when looking for \"" << verification_name << "\"";
@@ -212,7 +212,7 @@ class PrintingLayoutTest : public PrintingTest<InProcessBrowserTest>,
emf_file = file.value();
continue;
}
- if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".prn") == 0) {
+ if (base::strcasecmp(WideToUTF8(ext).c_str(), ".prn") == 0) {
EXPECT_FALSE(found_prn) << "Found a leftover .PRN file: \"" <<
prn_file << "\" and \"" << file.value() <<
"\" when looking for \"" << verification_name << "\"";