| 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_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ | 5 #ifndef CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
| 6 #define CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ | 6 #define CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 const std::string& printer_name); | 143 const std::string& printer_name); |
| 144 | 144 |
| 145 std::unique_ptr<content::ChildProcessHost> child_process_host_; | 145 std::unique_ptr<content::ChildProcessHost> child_process_host_; |
| 146 base::Process process_; | 146 base::Process process_; |
| 147 // A pointer to our client interface, who will be informed of progress. | 147 // A pointer to our client interface, who will be informed of progress. |
| 148 scoped_refptr<Client> client_; | 148 scoped_refptr<Client> client_; |
| 149 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_; | 149 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner_; |
| 150 bool waiting_for_reply_; | 150 bool waiting_for_reply_; |
| 151 mojo::edk::PendingProcessConnection process_connection_; | 151 mojo::edk::PendingProcessConnection process_connection_; |
| 152 | 152 |
| 153 // Start time of operation. | |
| 154 base::Time start_time_; | |
| 155 | |
| 156 class PdfToEmfState; | 153 class PdfToEmfState; |
| 157 std::unique_ptr<PdfToEmfState> pdf_to_emf_state_; | 154 std::unique_ptr<PdfToEmfState> pdf_to_emf_state_; |
| 158 | 155 |
| 159 base::WeakPtrFactory<ServiceUtilityProcessHost> weak_ptr_factory_; | 156 base::WeakPtrFactory<ServiceUtilityProcessHost> weak_ptr_factory_; |
| 160 | 157 |
| 161 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); | 158 DISALLOW_COPY_AND_ASSIGN(ServiceUtilityProcessHost); |
| 162 }; | 159 }; |
| 163 | 160 |
| 164 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ | 161 #endif // CHROME_SERVICE_SERVICE_UTILITY_PROCESS_HOST_H_ |
| OLD | NEW |