Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/devtools_ui.h ('k') | chrome/browser/ui/webui/signin/inline_login_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698