Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 650901ce5eaf984403fd36e90e254f1d196b8d32..dd56ab190e1ead3483d5a753710aa63fc7e8cf6d 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -72,6 +72,7 @@ |
#include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
#include "chrome/browser/ui/webui/extension_icon_source.h" |
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h" |
+#include "chrome/browser/ui/webui/print_preview_data_manager.h" |
#include "chrome/browser/user_style_sheet_watcher.h" |
#include "chrome/browser/visitedlink/visitedlink_event_listener.h" |
#include "chrome/browser/visitedlink/visitedlink_master.h" |
@@ -1516,6 +1517,12 @@ ChromeURLDataManager* ProfileImpl::GetChromeURLDataManager() { |
return chrome_url_data_manager_.get(); |
} |
+PrintPreviewDataManager* ProfileImpl::GetPrintPreviewDataManager() { |
+ if (!print_preview_data_manager_.get()) |
+ print_preview_data_manager_ = new PrintPreviewDataManager(); |
+ return print_preview_data_manager_.get(); |
+} |
+ |
PromoCounter* ProfileImpl::GetInstantPromoCounter() { |
#if defined(OS_WIN) |
// TODO: enable this when we're ready to turn on the promo. |