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

Unified Diff: ash/common/wm_shell.cc

Issue 2644893003: Unify Preferences Mojom Naming to PreferencesService (Closed)
Patch Set: / Created 3 years, 11 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 | « ash/common/wm_shell.h ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 0674f7a58e02c8f74d579314368243ddf90fbe69..2053c17618631481a3314af8557958ef201cddee 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -54,7 +54,7 @@
#include "base/bind.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
-#include "services/preferences/public/cpp/pref_observer_store.h"
+#include "services/preferences/public/cpp/pref_client_store.h"
#include "services/preferences/public/interfaces/preferences.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
#include "ui/app_list/presenter/app_list.h"
@@ -293,13 +293,13 @@ WmShell::WmShell(std::unique_ptr<ShellDelegate> shell_delegate)
base::MakeUnique<WindowSelectorController>()) {
session_controller_->AddSessionStateObserver(this);
- prefs::mojom::PreferencesFactoryPtr pref_factory_ptr;
+ prefs::mojom::PreferencesServiceFactoryPtr pref_factory_ptr;
// Can be null in tests.
if (!delegate_->GetShellConnector())
return;
delegate_->GetShellConnector()->BindInterface(prefs::mojom::kServiceName,
&pref_factory_ptr);
- pref_store_ = new preferences::PrefObserverStore(std::move(pref_factory_ptr));
+ pref_store_ = new preferences::PrefClientStore(std::move(pref_factory_ptr));
}
RootWindowController* WmShell::GetPrimaryRootWindowController() {
« no previous file with comments | « ash/common/wm_shell.h ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698