[Sync] Fix namespace for sync_driver component
[chromium-blink-merge.git] / printing / metafile_impl.h
blob9fb2307131d2f7f01f61a197375a1272220fe898
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PRINTING_METAFILE_IMPL_H_
6 #define PRINTING_METAFILE_IMPL_H_
8 #include "printing/pdf_metafile_skia.h"
10 #if defined(OS_WIN)
11 #include "printing/emf_win.h"
12 #endif
14 namespace printing {
16 #if defined(OS_WIN) && !defined(WIN_PDF_METAFILE_FOR_PRINTING)
17 typedef Emf NativeMetafile;
18 typedef PdfMetafileSkia PreviewMetafile;
19 #else
20 typedef PdfMetafileSkia NativeMetafile;
21 typedef PdfMetafileSkia PreviewMetafile;
22 #endif
24 } // namespace printing
26 #endif // PRINTING_METAFILE_IMPL_H_