summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/pref_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs/pref_service.h')
-rw-r--r--chrome/browser/prefs/pref_service.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index 632bc84..f1128a22 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -12,16 +12,15 @@
#include <string>
#include "base/non_thread_safe.h"
-#include "base/ref_counted.h"
#include "base/scoped_ptr.h"
#include "base/values.h"
+#include "chrome/browser/prefs/pref_value_store.h"
#include "chrome/common/pref_store.h"
class FilePath;
class NotificationObserver;
class PrefChangeObserver;
class PrefNotifier;
-class PrefValueStore;
class Profile;
namespace subtle {
@@ -219,7 +218,7 @@ class PrefService : public NonThreadSafe {
// preference is not registered.
const Preference* FindPreference(const char* pref_name) const;
- bool ReadOnly() const;
+ bool read_only() const { return pref_value_store_->ReadOnly(); }
PrefNotifier* pref_notifier() const { return pref_notifier_.get(); }