Title: [170651] trunk/Source/WebKit2
Revision
170651
Author
[email protected]
Date
2014-07-01 11:00:35 -0700 (Tue, 01 Jul 2014)

Log Message

Add WKSessionStateGetTypeID
https://bugs.webkit.org/show_bug.cgi?id=134499

Reviewed by Tim Horton.

* UIProcess/API/C/WKSessionStateRef.cpp:
(WKSessionStateGetTypeID):
* UIProcess/API/C/WKSessionStateRef.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (170650 => 170651)


--- trunk/Source/WebKit2/ChangeLog	2014-07-01 17:49:47 UTC (rev 170650)
+++ trunk/Source/WebKit2/ChangeLog	2014-07-01 18:00:35 UTC (rev 170651)
@@ -1,3 +1,14 @@
+2014-07-01  Anders Carlsson  <[email protected]>
+
+        Add WKSessionStateGetTypeID
+        https://bugs.webkit.org/show_bug.cgi?id=134499
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/C/WKSessionStateRef.cpp:
+        (WKSessionStateGetTypeID):
+        * UIProcess/API/C/WKSessionStateRef.h:
+
 2014-07-01  Daniel Bates  <[email protected]>
 
         Remove unnecessary calls to std::move()

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp (170650 => 170651)


--- trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp	2014-07-01 17:49:47 UTC (rev 170650)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.cpp	2014-07-01 18:00:35 UTC (rev 170651)
@@ -31,6 +31,11 @@
 #include "SessionState.h"
 #include "WKAPICast.h"
 
+WKTypeID WKSessionStateGetTypeID()
+{
+    return WebKit::toAPI(API::SessionState::APIType);
+}
+
 WKSessionStateRef WKSessionStateCreateFromData(WKDataRef data)
 {
     WebKit::SessionState sessionState;

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h (170650 => 170651)


--- trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h	2014-07-01 17:49:47 UTC (rev 170650)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKSessionStateRef.h	2014-07-01 18:00:35 UTC (rev 170651)
@@ -32,6 +32,8 @@
 extern "C" {
 #endif
 
+WK_EXPORT WKTypeID WKSessionStateGetTypeID();
+
 WK_EXPORT WKSessionStateRef WKSessionStateCreateFromData(WKDataRef data);
 
 #ifdef __cplusplus
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to