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

Unified Diff: chrome/utility/cloud_print/pwg_encoder_unittest.cc

Issue 74873002: Fixed namespace in chrome/utility/cloud_print/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « chrome/utility/cloud_print/pwg_encoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/cloud_print/pwg_encoder_unittest.cc
diff --git a/chrome/utility/cloud_print/pwg_encoder_unittest.cc b/chrome/utility/cloud_print/pwg_encoder_unittest.cc
index 0caf6a56f084e9389febef7c33a996ff829bebe1..c4ffc2b1ca8aaf00ef64cd47e4d94c63110095ea 100644
--- a/chrome/utility/cloud_print/pwg_encoder_unittest.cc
+++ b/chrome/utility/cloud_print/pwg_encoder_unittest.cc
@@ -9,8 +9,7 @@
#include "chrome/utility/cloud_print/pwg_encoder.h"
#include "testing/gtest/include/gtest/gtest.h"
-using printing::BitmapImage;
-using printing::PwgEncoder;
+namespace cloud_print {
namespace {
@@ -33,7 +32,7 @@ scoped_ptr<BitmapImage> MakeSampleBitmap() {
BitmapImage::RGBA));
uint32* bitmap_data = reinterpret_cast<uint32*>(
- bitmap_image->mutable_pixel_data());
+ bitmap_image->pixel_data());
for (int i = 0; i < kRasterWidth * kRasterHeight; i++) {
bitmap_data[i] = 0xFFFFFF;
@@ -63,6 +62,8 @@ scoped_ptr<BitmapImage> MakeSampleBitmap() {
return bitmap_image.Pass();
}
+} // namespace
+
TEST(PwgRasterTest, CompareWithMaster) {
std::string output;
PwgEncoder encoder;
@@ -74,4 +75,5 @@ TEST(PwgRasterTest, CompareWithMaster) {
EXPECT_EQ(kPWGFileSha1, base::SHA1HashString(output));
}
-} // namespace
+} // namespace cloud_print
+
« no previous file with comments | « chrome/utility/cloud_print/pwg_encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698