Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / service / cloud_print / cdd_conversion_win.h
blob0e9c3dbd033cec9ccee1884124108687b31b38af
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.
5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_
8 #include <string>
9 #include <windows.h>
11 #include "base/memory/scoped_ptr.h"
12 #include "base/strings/string16.h"
14 namespace cloud_print {
16 bool IsValidCjt(const std::string& print_ticket);
18 scoped_ptr<DEVMODE, base::FreeDeleter> CjtToDevMode(
19 const base::string16& printer_name,
20 const std::string& print_ticket);
22 } // namespace cloud_print
24 #endif // CHROME_SERVICE_CLOUD_PRINT_CDD_CONVERSION_WIN_H_