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

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

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
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
Index: components/filesystem/public/cpp/prefs/pref_service_factory.h
diff --git a/components/filesystem/public/cpp/prefs/pref_service_factory.h b/components/filesystem/public/cpp/prefs/pref_service_factory.h
index 23780ff1a2308bbded897a6383ec6ba7a7d36524..bff39083a6d8920ab069336890a17fbb422e40d6 100644
--- a/components/filesystem/public/cpp/prefs/pref_service_factory.h
+++ b/components/filesystem/public/cpp/prefs/pref_service_factory.h
@@ -9,7 +9,7 @@
#include "components/prefs/pref_service.h"
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
class PrefRegistry;
@@ -19,7 +19,7 @@ namespace filesystem {
// This factory method creates a PrefService for the local process based on the
// preference registry passed in. This PrefService will synchronize with a JSON
// file in the mojo:filesystem.
-scoped_ptr<PrefService> CreatePrefService(mojo::ApplicationImpl* application,
+scoped_ptr<PrefService> CreatePrefService(mojo::Shell* shell,
PrefRegistry* registry);
} // namespace filesystem
« no previous file with comments | « components/filesystem/files_test_base.cc ('k') | components/filesystem/public/cpp/prefs/pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698