| Index: printing/backend/win_helper.h
|
| ===================================================================
|
| --- printing/backend/win_helper.h (revision 70422)
|
| +++ printing/backend/win_helper.h (working copy)
|
| @@ -58,6 +58,18 @@
|
| static bool InitImpl();
|
| };
|
|
|
| +// See comments in cc file explaining why we need this.
|
| +class ScopedXPSInitializer {
|
| + public:
|
| + ScopedXPSInitializer();
|
| + ~ScopedXPSInitializer();
|
| +
|
| + bool initialized() const { return initialized_; }
|
| +
|
| + private:
|
| + bool initialized_;
|
| +};
|
| +
|
| } // namespace printing
|
|
|
| #endif // PRINTING_BACKEND_WIN_HELPER_H_
|
|
|