| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ |
| 6 #define PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ | 6 #define PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "printing/backend/cups_connection.h" | 13 #include "printing/backend/cups_connection.h" |
| 14 #include "printing/backend/cups_printer.h" | 14 #include "printing/backend/cups_printer.h" |
| 15 #include "printing/printing_context.h" | 15 #include "printing/printing_context.h" |
| 16 | 16 |
| 17 namespace base { | |
| 18 class DictionaryValue; | |
| 19 } | |
| 20 | |
| 21 namespace printing { | 17 namespace printing { |
| 22 | 18 |
| 23 class PRINTING_EXPORT PrintingContextChromeos : public PrintingContext { | 19 class PRINTING_EXPORT PrintingContextChromeos : public PrintingContext { |
| 24 public: | 20 public: |
| 25 explicit PrintingContextChromeos(Delegate* delegate); | 21 explicit PrintingContextChromeos(Delegate* delegate); |
| 26 ~PrintingContextChromeos() override; | 22 ~PrintingContextChromeos() override; |
| 27 | 23 |
| 28 // PrintingContext implementation. | 24 // PrintingContext implementation. |
| 29 void AskUserForSettings(int max_pages, | 25 void AskUserForSettings(int max_pages, |
| 30 bool has_selection, | 26 bool has_selection, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 54 | 50 |
| 55 CupsConnection connection_; | 51 CupsConnection connection_; |
| 56 std::unique_ptr<CupsPrinter> printer_; | 52 std::unique_ptr<CupsPrinter> printer_; |
| 57 | 53 |
| 58 DISALLOW_COPY_AND_ASSIGN(PrintingContextChromeos); | 54 DISALLOW_COPY_AND_ASSIGN(PrintingContextChromeos); |
| 59 }; | 55 }; |
| 60 | 56 |
| 61 } // namespace printing | 57 } // namespace printing |
| 62 | 58 |
| 63 #endif // PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ | 59 #endif // PRINTING_PRINTING_CONTEXT_CHROMEOS_H_ |
| OLD | NEW |