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

Unified Diff: ash/mus/shell_delegate_mus.cc

Issue 2827193004: Make PrefService available in *ash (Closed)
Patch Set: Adding NOTREACHED() comment. Created 3 years, 8 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/mus/shell_delegate_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index f0932ce7e5b20185ee9ac052a39283b9c0774a87..6e7bd139ca3f140c2eddd9e53a49c48d2523b5c8 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -155,6 +155,14 @@ gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const {
return gfx::Image();
}
+PrefService* ShellDelegateMus::GetActiveUserPrefService() const {
+ // This code should never be called in the case of Config::MASH. Rather, the
+ // PrefService instance is stored by Shell when it manages to connect to the
+ // pref service in Chrome.
+ NOTREACHED();
+ return nullptr;
+}
+
bool ShellDelegateMus::IsTouchscreenEnabledInPrefs(bool use_local_state) const {
NOTIMPLEMENTED();
return true;
« no previous file with comments | « ash/mus/shell_delegate_mus.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698