| Index: chrome/browser/browser_process_impl.cc
|
| ===================================================================
|
| --- chrome/browser/browser_process_impl.cc (revision 71344)
|
| +++ chrome/browser/browser_process_impl.cc (working copy)
|
| @@ -41,7 +41,7 @@
|
| #include "chrome/browser/policy/configuration_policy_provider_keeper.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/printing/print_job_manager.h"
|
| -#include "chrome/browser/printing/print_preview_tab_controller.h"
|
| +#include "chrome/browser/printing/print_preview_manager.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/renderer_host/render_process_host.h"
|
| #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
|
| @@ -470,12 +470,11 @@
|
| return print_job_manager_.get();
|
| }
|
|
|
| -printing::PrintPreviewTabController*
|
| - BrowserProcessImpl::print_preview_tab_controller() {
|
| +printing::PrintPreviewManager* BrowserProcessImpl::print_preview_manager() {
|
| DCHECK(CalledOnValidThread());
|
| - if (!print_preview_tab_controller_.get())
|
| - CreatePrintPreviewTabController();
|
| - return print_preview_tab_controller_.get();
|
| + if (!print_preview_manager_.get())
|
| + CreatePrintPreviewManager();
|
| + return print_preview_manager_.get();
|
| }
|
|
|
| GoogleURLTracker* BrowserProcessImpl::google_url_tracker() {
|
| @@ -778,9 +777,9 @@
|
| tab_closeable_state_watcher_.reset(TabCloseableStateWatcher::Create());
|
| }
|
|
|
| -void BrowserProcessImpl::CreatePrintPreviewTabController() {
|
| - DCHECK(print_preview_tab_controller_.get() == NULL);
|
| - print_preview_tab_controller_ = new printing::PrintPreviewTabController();
|
| +void BrowserProcessImpl::CreatePrintPreviewManager() {
|
| + DCHECK(print_preview_manager_.get() == NULL);
|
| + print_preview_manager_ = new printing::PrintPreviewManager();
|
| }
|
|
|
| void BrowserProcessImpl::CreateSafeBrowsingDetectionService() {
|
|
|