CookieManager only works with the default session
[WebKit-https.git] / Source / WebKit2 / WebProcess / Cookies / WebCookieManager.messages.in
index 15de9b6..5d51536 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, 2016 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
  */
  
  messages -> WebCookieManager {
-    void GetHostnamesWithCookies(uint64_t callbackID)
-    void DeleteCookiesForHostname(WTF::String hostname)
-    void DeleteAllCookies()
+    void GetHostnamesWithCookies(WebCore::SessionID sessionID, uint64_t callbackID)
+    void DeleteCookiesForHostname(WebCore::SessionID sessionID, String hostname)
+    void DeleteAllCookies(WebCore::SessionID sessionID)
+    void DeleteAllCookiesModifiedSince(WebCore::SessionID sessionID, std::chrono::system_clock::time_point time)
+    void AddCookie(WebCore::SessionID sessionID, struct WebCore::Cookie cookie, String hostname)
 
     void SetHTTPCookieAcceptPolicy(uint32_t policy)
     void GetHTTPCookieAcceptPolicy(uint64_t callbackID)
     
-    void StartObservingCookieChanges()
-    void StopObservingCookieChanges()
+    void StartObservingCookieChanges(WebCore::SessionID sessionID)
+    void StopObservingCookieChanges(WebCore::SessionID sessionID)
+
+#if USE(SOUP)
+    SetCookiePersistentStorage(String storagePath, uint32_t storageType)
+#endif
 }