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_
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_