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

Unified Diff: printing/pdf_ps_metafile_cairo_unittest.cc

Issue 6544028: Create a Factory for NativeMetafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ARM compile failure fix Created 9 years, 10 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/pdf_ps_metafile_cairo.h ('k') | printing/print_settings_initializer_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_ps_metafile_cairo_unittest.cc
diff --git a/printing/pdf_ps_metafile_cairo_unittest.cc b/printing/pdf_ps_metafile_cairo_unittest.cc
index b7ed449cfa7838d810e97cbe1b71a0908ed1e090..a3442c843efbb3b9db7029a95991ed4935746e1e 100644
--- a/printing/pdf_ps_metafile_cairo_unittest.cc
+++ b/printing/pdf_ps_metafile_cairo_unittest.cc
@@ -15,6 +15,8 @@
typedef struct _cairo cairo_t;
+namespace {
+
class PdfPsTest : public testing::Test {
protected:
base::FileDescriptor DevNullFD() {
@@ -22,6 +24,10 @@ class PdfPsTest : public testing::Test {
}
};
+} // namespace
+
+namespace printing {
+
TEST_F(PdfPsTest, Pdf) {
// Tests in-renderer constructor.
printing::PdfPsMetafile pdf;
@@ -81,3 +87,5 @@ TEST_F(PdfPsTest, Pdf) {
pdf3.GetData(WriteInto(&output, size + 1), size);
EXPECT_EQ(test_raw_data, output);
}
+
+} // namespace printing
« no previous file with comments | « printing/pdf_ps_metafile_cairo.h ('k') | printing/print_settings_initializer_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698