summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/inspector/InspectorFrontendHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/InspectorFrontendHost.cpp')
-rw-r--r--Source/WebCore/inspector/InspectorFrontendHost.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/WebCore/inspector/InspectorFrontendHost.cpp b/Source/WebCore/inspector/InspectorFrontendHost.cpp
index f2e66bc..7450d35 100644
--- a/Source/WebCore/inspector/InspectorFrontendHost.cpp
+++ b/Source/WebCore/inspector/InspectorFrontendHost.cpp
@@ -220,6 +220,20 @@ void InspectorFrontendHost::copyText(const String& text)
Pasteboard::generalPasteboard()->writePlainText(text);
}
+void InspectorFrontendHost::saveSessionSetting(const String& key, const String& value)
+{
+ if (m_client)
+ m_client->saveSessionSetting(key, value);
+}
+
+String InspectorFrontendHost::loadSessionSetting(const String& key)
+{
+ String value;
+ if (m_client)
+ m_client->loadSessionSetting(key, &value);
+ return value;
+}
+
void InspectorFrontendHost::sendMessageToBackend(const String& message)
{
m_client->sendMessageToBackend(message);