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_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 scoped_ptr<local_discovery::PrivetHTTPAsynchronousFactory> | 332 scoped_ptr<local_discovery::PrivetHTTPAsynchronousFactory> |
333 privet_http_factory_; | 333 privet_http_factory_; |
334 scoped_ptr<local_discovery::PrivetHTTPResolution> privet_http_resolution_; | 334 scoped_ptr<local_discovery::PrivetHTTPResolution> privet_http_resolution_; |
335 scoped_ptr<local_discovery::PrivetV1HTTPClient> privet_http_client_; | 335 scoped_ptr<local_discovery::PrivetV1HTTPClient> privet_http_client_; |
336 scoped_ptr<local_discovery::PrivetJSONOperation> | 336 scoped_ptr<local_discovery::PrivetJSONOperation> |
337 privet_capabilities_operation_; | 337 privet_capabilities_operation_; |
338 scoped_ptr<local_discovery::PrivetLocalPrintOperation> | 338 scoped_ptr<local_discovery::PrivetLocalPrintOperation> |
339 privet_local_print_operation_; | 339 privet_local_print_operation_; |
340 #endif | 340 #endif |
341 | 341 |
342 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; | |
343 | |
344 // Notifies tests that want to know if the PDF has been saved. This doesn't | 342 // Notifies tests that want to know if the PDF has been saved. This doesn't |
345 // notify the test if it was a successful save, only that it was attempted. | 343 // notify the test if it was a successful save, only that it was attempted. |
346 base::Closure pdf_file_saved_closure_; | 344 base::Closure pdf_file_saved_closure_; |
347 | 345 |
| 346 base::WeakPtrFactory<PrintPreviewHandler> weak_factory_; |
| 347 |
348 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); | 348 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); |
349 }; | 349 }; |
350 | 350 |
351 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ | 351 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_HANDLER_H_ |
OLD | NEW |