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

Unified Diff: chrome/browser/profiles/profile_impl.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_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 5d8b6adfcf510ee4666e586c9644b7bdd6d5097b..db8a032c491ebd03aaa1c7d7c608e680aa6f2f4d 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -46,6 +46,7 @@
#include "chrome/browser/net/pref_proxy_config_service.h"
#include "chrome/browser/net/ssl_config_service_manager.h"
#include "chrome/browser/password_manager/password_store_default.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/policy/configuration_policy_pref_store.h"
#include "chrome/browser/policy/configuration_policy_provider.h"
#include "chrome/browser/policy/profile_policy_connector.h"
@@ -356,6 +357,7 @@ void ProfileImpl::DoFinalInit() {
SSLConfigServiceManager::CreateDefaultManager(local_state));
PinnedTabServiceFactory::GetForProfile(this);
+ PrintPreviewDataServiceFactory::GetForProfile(this);
Elliot Glaysher 2011/05/27 17:45:50 Same.
kmadhusu 2011/05/27 23:44:42 Removed.
// Initialize the BackgroundModeManager - this has to be done here before
// InitExtensions() is called because it relies on receiving notifications

Powered by Google App Engine
This is Rietveld 408576698