summaryrefslogtreecommitdiffstats
path: root/src/core/browser_context_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/browser_context_qt.cpp')
-rw-r--r--src/core/browser_context_qt.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/browser_context_qt.cpp b/src/core/browser_context_qt.cpp
index bc5341f46..5f544ab86 100644
--- a/src/core/browser_context_qt.cpp
+++ b/src/core/browser_context_qt.cpp
@@ -97,6 +97,16 @@ BrowserContextQt::~BrowserContextQt()
content::BrowserThread::DeleteSoon(content::BrowserThread::IO, FROM_HERE, resourceContext.release());
}
+PrefService* BrowserContextQt::GetPrefs()
+{
+ return m_prefService.get();
+}
+
+const PrefService* BrowserContextQt::GetPrefs() const
+{
+ return m_prefService.get();
+}
+
base::FilePath BrowserContextQt::GetPath() const
{
return toFilePath(m_adapter->dataPath());