| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index 85bbef221114ca4bffbd2ebc594c1060244f0d5b..56ed8a462c3c2179107733ffa7e8a6dd1b7828e8 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -35,6 +35,7 @@
|
| #include "chrome/browser/ui/find_bar/find_bar_state.h"
|
| #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
|
| #include "chrome/browser/ui/webui/extension_icon_source.h"
|
| +#include "chrome/browser/ui/webui/print_preview_data_manager.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -660,6 +661,12 @@ class OffTheRecordProfileImpl : public Profile,
|
| return chrome_url_data_manager_.get();
|
| }
|
|
|
| + virtual PrintPreviewDataManager* GetPrintPreviewDataManager() {
|
| + if (!print_preview_data_manager_.get())
|
| + print_preview_data_manager_ = new PrintPreviewDataManager();
|
| + return print_preview_data_manager_.get();
|
| + }
|
| +
|
| virtual PromoCounter* GetInstantPromoCounter() {
|
| return NULL;
|
| }
|
| @@ -783,6 +790,8 @@ class OffTheRecordProfileImpl : public Profile,
|
|
|
| scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_;
|
|
|
| + scoped_refptr<PrintPreviewDataManager> print_preview_data_manager_;
|
| +
|
| scoped_refptr<quota::QuotaManager> quota_manager_;
|
|
|
| // Used read-only.
|
|
|