OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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> | 9 #include <string> |
10 | 10 |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/message_loop_helpers.h" | 15 #include "base/message_loop_helpers.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 | 18 |
19 class PrintPreviewHandler; | 19 class PrintPreviewHandler; |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 class StringValue; | |
24 } | 23 } |
25 | 24 |
26 namespace printing { | 25 namespace printing { |
27 class PrintBackend; | 26 class PrintBackend; |
28 struct PrinterCapsAndDefaults; | 27 struct PrinterCapsAndDefaults; |
29 } | 28 } |
30 | 29 |
31 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) | 30 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) |
32 typedef struct cups_option_s cups_option_t; | 31 typedef struct cups_option_s cups_option_t; |
33 | 32 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 base::WeakPtr<PrintPreviewHandler> handler_; | 97 base::WeakPtr<PrintPreviewHandler> handler_; |
99 | 98 |
100 scoped_refptr<printing::PrintBackend> print_backend_; | 99 scoped_refptr<printing::PrintBackend> print_backend_; |
101 | 100 |
102 bool has_logged_printers_count_; | 101 bool has_logged_printers_count_; |
103 | 102 |
104 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); | 103 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); |
105 }; | 104 }; |
106 | 105 |
107 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ | 106 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ |
OLD | NEW |