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

Unified Diff: chrome/browser/prefs/active_profile_pref_service.cc

Issue 2778733003: Pref service: delete old implementation (Closed)
Patch Set: Fix missed merge Created 3 years, 9 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/prefs/active_profile_pref_service.cc
diff --git a/chrome/browser/prefs/active_profile_pref_service.cc b/chrome/browser/prefs/active_profile_pref_service.cc
index a99165455b5b78628bda53beb786b6564c656fc1..9168ebf231e66c3dc88b46c8de8ba0340453c09c 100644
--- a/chrome/browser/prefs/active_profile_pref_service.cc
+++ b/chrome/browser/prefs/active_profile_pref_service.cc
@@ -19,8 +19,7 @@ void ActiveProfilePrefService::Connect(
const ConnectCallback& callback) {
auto* connector = content::BrowserContext::GetConnectorFor(
ProfileManager::GetActiveUserProfile());
- connector->BindInterface(prefs::mojom::kPrefStoreServiceName,
- &connector_ptr_);
+ connector->BindInterface(prefs::mojom::kServiceName, &connector_ptr_);
connector_ptr_.set_connection_error_handler(base::Bind(
&ActiveProfilePrefService::OnConnectError, base::Unretained(this)));
connector_ptr_->Connect(std::move(pref_registry), callback);
« no previous file with comments | « chrome/browser/chromeos/preferences_chromeos_browsertest.cc ('k') | chrome/browser/prefs/forwarder_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698