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

Side by Side Diff: chrome/browser/ui/webui/print_preview/print_preview_ui.cc

Issue 410473002: Assertion removed in print_preview_pdf_generated.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Message loop ends when file is saved. Created 6 years, 5 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 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" 5 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 } 614 }
615 615
616 // static 616 // static
617 void PrintPreviewUI::SetDelegateForTesting(TestingDelegate* delegate) { 617 void PrintPreviewUI::SetDelegateForTesting(TestingDelegate* delegate) {
618 g_testing_delegate = delegate; 618 g_testing_delegate = delegate;
619 } 619 }
620 620
621 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) { 621 void PrintPreviewUI::SetSelectedFileForTesting(const base::FilePath& path) {
622 handler_->FileSelected(path, 0, NULL); 622 handler_->FileSelected(path, 0, NULL);
623 } 623 }
624
625 void PrintPreviewUI::SetCallbackForTesting(
626 const base::Closure* callback) {
627 handler_->SetCallbackForTesting(callback);
628 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698