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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 7063030: PrintPreview: Print Preview is not staying associated with initiator renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 85bbef221114ca4bffbd2ebc594c1060244f0d5b..8a734fc3e330280cb7554ea1b64272295cb59f97 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -25,6 +25,7 @@
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/net/pref_proxy_config_service.h"
#include "chrome/browser/prefs/pref_service.h"
+#include "chrome/browser/printing/print_preview_data_service_factory.h"
Lei Zhang 2011/05/27 17:26:53 nit: ordering
kmadhusu 2011/05/27 23:44:42 Ordering LGTM.
#include "chrome/browser/profiles/off_the_record_profile_io_data.h"
#include "chrome/browser/profiles/profile_dependency_manager.h"
#include "chrome/browser/ssl/ssl_host_state.h"
@@ -205,6 +206,7 @@ class OffTheRecordProfileImpl : public Profile,
BrowserList::AddObserver(this);
BackgroundContentsServiceFactory::GetForProfile(this);
+ PrintPreviewDataServiceFactory::GetForProfile(this);
Elliot Glaysher 2011/05/27 17:45:50 Does this really need to be force initialized duri
kmadhusu 2011/05/27 23:44:42 Forced initialization is not required. Removed the
DCHECK(real_profile->GetPrefs()->GetBoolean(prefs::kIncognitoEnabled));

Powered by Google App Engine
This is Rietveld 408576698