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

Unified Diff: components/filesystem/public/cpp/prefs/pref_service_factory.cc

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
Patch Set: . Created 4 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 | « components/filesystem/files_test_base.cc ('k') | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/public/cpp/prefs/pref_service_factory.cc
diff --git a/components/filesystem/public/cpp/prefs/pref_service_factory.cc b/components/filesystem/public/cpp/prefs/pref_service_factory.cc
index 0fbd0d773affc412710aae887741a93ed575e78c..5c75bb62c6c1d3baa3bfcebedf0517568cfcf5b6 100644
--- a/components/filesystem/public/cpp/prefs/pref_service_factory.cc
+++ b/components/filesystem/public/cpp/prefs/pref_service_factory.cc
@@ -26,7 +26,7 @@ void DoNothingHandleReadError(PersistentPrefStore::PrefReadError error) {}
scoped_ptr<PrefService> CreatePrefService(mojo::Shell* shell,
PrefRegistry* pref_registry) {
filesystem::FileSystemPtr filesystem;
- shell->ConnectToService("mojo:filesystem", &filesystem);
+ shell->ConnectToInterface("mojo:filesystem", &filesystem);
scoped_refptr<FilesystemJsonPrefStore> user_prefs =
new FilesystemJsonPrefStore("preferences.json", std::move(filesystem),
« no previous file with comments | « components/filesystem/files_test_base.cc ('k') | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698