1 // Copyright 2014 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. 4 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ 7 8 #include <string> 9 #include <windows.h> 10 11 #include "base/memory/scoped_ptr.h" 12 #include "base/strings/string16.h" 13 14 namespace cloud_print { 15 16 bool IsValidCjt(const std::string& print_ticket); 17 18 scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode( 19 const base::string16& printer_name, 20 const std::string& print_ticket); 21 22 } // namespace cloud_print 23 24 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_ 25