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

Unified Diff: ash/shell_delegate.h

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/shell/shell_delegate_impl.cc ('k') | ash/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 2ab708808d1e70a7fc78c32db9594123f7ad7030..92161d4a9312ac7108fe284e36a8427861a49303 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -13,6 +13,7 @@
#include "base/strings/string16.h"
class GURL;
+class PrefService;
namespace gfx {
class Image;
@@ -121,6 +122,8 @@ class ASH_EXPORT ShellDelegate {
virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
+ virtual PrefService* GetActiveUserPrefService() const = 0;
+
// If |use_local_state| is true, returns the touchscreen status from local
// state, otherwise from user prefs.
virtual bool IsTouchscreenEnabledInPrefs(bool use_local_state) const = 0;
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698