summaryrefslogtreecommitdiff
path: root/Source/WebKit2/WebProcess/WebProcess.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/WebProcess/WebProcess.h')
-rw-r--r--Source/WebKit2/WebProcess/WebProcess.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/Source/WebKit2/WebProcess/WebProcess.h b/Source/WebKit2/WebProcess/WebProcess.h
index efa2e681a..eafe1d99b 100644
--- a/Source/WebKit2/WebProcess/WebProcess.h
+++ b/Source/WebKit2/WebProcess/WebProcess.h
@@ -44,11 +44,19 @@
#include <wtf/HashMap.h>
#include <wtf/HashSet.h>
+#if USE(SOUP)
+#include "WebSoupRequestManager.h"
+#endif
+
#if PLATFORM(QT)
class QNetworkAccessManager;
#endif
-#if ENABLE(NOTIFICATIONS)
+#if PLATFORM(MAC)
+#include <dispatch/dispatch.h>
+#endif
+
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
#include "WebNotificationManager.h"
#endif
@@ -133,7 +141,7 @@ public:
// Geolocation
WebGeolocationManager& geolocationManager() { return m_geolocationManager; }
-#if ENABLE(NOTIFICATIONS)
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
WebNotificationManager& notificationManager() { return m_notificationManager; }
#endif
@@ -148,6 +156,10 @@ public:
EventDispatcher& eventDispatcher() { return m_eventDispatcher; }
+#if USE(SOUP)
+ WebSoupRequestManager& soupRequestManager() { return m_soupRequestManager; }
+#endif
+
private:
WebProcess();
@@ -254,6 +266,7 @@ private:
#endif
#if PLATFORM(MAC)
pid_t m_presenterApplicationPid;
+ dispatch_group_t m_clearResourceCachesDispatchGroup;
#endif
bool m_fullKeyboardAccessEnabled;
@@ -268,7 +281,7 @@ private:
TextCheckerState m_textCheckerState;
WebGeolocationManager m_geolocationManager;
-#if ENABLE(NOTIFICATIONS)
+#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
WebNotificationManager m_notificationManager;
#endif
WebIconDatabaseProxy m_iconDatabaseProxy;
@@ -282,6 +295,10 @@ private:
bool m_disablePluginProcessMessageTimeout;
#endif
+#if USE(SOUP)
+ WebSoupRequestManager m_soupRequestManager;
+#endif
+
};
} // namespace WebKit