| 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 ListValue; |
| 23 } | 24 } |
| 24 | 25 |
| 25 namespace printing { | 26 namespace printing { |
| 26 class PrintBackend; | 27 class PrintBackend; |
| 27 struct PrinterCapsAndDefaults; | 28 struct PrinterCapsAndDefaults; |
| 28 } | 29 } |
| 29 | 30 |
| 30 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) | 31 #if defined(UNIT_TEST) && defined(USE_CUPS) && !defined(OS_MACOSX) |
| 31 typedef struct cups_option_s cups_option_t; | 32 typedef struct cups_option_s cups_option_t; |
| 32 | 33 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 base::WeakPtr<PrintPreviewHandler> handler_; | 98 base::WeakPtr<PrintPreviewHandler> handler_; |
| 98 | 99 |
| 99 scoped_refptr<printing::PrintBackend> print_backend_; | 100 scoped_refptr<printing::PrintBackend> print_backend_; |
| 100 | 101 |
| 101 bool has_logged_printers_count_; | 102 bool has_logged_printers_count_; |
| 102 | 103 |
| 103 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); | 104 DISALLOW_COPY_AND_ASSIGN(PrintSystemTaskProxy); |
| 104 }; | 105 }; |
| 105 | 106 |
| 106 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ | 107 #endif // CHROME_BROWSER_PRINTING_PRINT_SYSTEM_TASK_PROXY_H_ |
| OLD | NEW |