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

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

Issue 2706383002: DO NOT SUBMIT: Show silent service manager failure (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/browser/prefs/preferences_manifest.json ('k') | components/prefs/pref_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 2f493aab7d8d2388ee5a28a51334402f60451c0e..0821789c43e90a046143aee93b6b87b3695f636a 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -119,6 +119,8 @@
#include "printing/features/features.h"
#include "ui/base/l10n/l10n_util.h"
+#include "content/public/common/service_manager_connection.h"
+
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/locale_change_guard.h"
#include "chrome/browser/chromeos/preferences.h"
@@ -488,7 +490,9 @@ ProfileImpl::ProfileImpl(
prefs_ = chrome_prefs::CreateProfilePrefs(
path_, sequenced_task_runner, pref_validation_delegate_.get(),
profile_policy_connector_->policy_service(), supervised_user_settings,
- CreateExtensionPrefStore(this, false), pref_registry_, async_prefs);
+ CreateExtensionPrefStore(this, false), pref_registry_, async_prefs,
+ // content::ServiceManagerConnection::GetForProcess()->GetConnector());
+ content::BrowserContext::GetConnectorFor(this));
// Register on BrowserContext.
user_prefs::UserPrefs::Set(this, prefs_.get());
}
« no previous file with comments | « chrome/browser/prefs/preferences_manifest.json ('k') | components/prefs/pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698