OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include <string> |
| 10 |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
11 #include "build/build_config.h" | 13 #include "build/build_config.h" |
12 #include "chrome/browser/ui/webui/print_preview_handler.h" | 14 #include "chrome/browser/ui/webui/print_preview_handler.h" |
13 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 class DictionaryValue; | 18 class DictionaryValue; |
17 class FundamentalValue; | |
18 class StringValue; | 19 class StringValue; |
19 } | 20 } |
20 | 21 |
21 namespace printing { | 22 namespace printing { |
22 class PrintBackend; | 23 class PrintBackend; |
23 } | 24 } |
24 | 25 |
25 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) | 26 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) |
26 typedef struct cups_option_s cups_option_t; | 27 typedef struct cups_option_s cups_option_t; |
27 | 28 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 base::WeakPtr<PrintPreviewHandler> handler_; | 66 base::WeakPtr<PrintPreviewHandler> handler_; |
66 | 67 |
67 scoped_refptr<printing::PrintBackend> print_backend_; | 68 scoped_refptr<printing::PrintBackend> print_backend_; |
68 | 69 |
69 bool has_logged_printers_count_; | 70 bool has_logged_printers_count_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); | 72 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); |
72 }; | 73 }; |
73 | 74 |
74 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ | 75 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ |
OLD | NEW |