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> | 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/message_loop_helpers.h" | 15 #include "base/message_loop_helpers.h" |
15 #include "build/build_config.h" | 16 #include "build/build_config.h" |
16 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
17 | 18 |
18 class PrintPreviewHandler; | 19 class PrintPreviewHandler; |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class DictionaryValue; | 22 class DictionaryValue; |
22 class StringValue; | 23 class StringValue; |
23 } | 24 } |
(...skipping 73 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 |