Title: [114671] trunk/Source
Revision
114671
Author
[email protected]
Date
2012-04-19 14:24:09 -0700 (Thu, 19 Apr 2012)

Log Message

[Chromium] Call signedPublicKeyAndChallengeString directly
https://bugs.webkit.org/show_bug.cgi?id=84372

Reviewed by Kentaro Hara.

Part of a refactoring series. See tracking bug 82948.

Source/WebCore:

* platform/chromium/PlatformSupport.h:
(PlatformSupport):
* platform/chromium/SSLKeyGeneratorChromium.cpp:
(WebCore::signedPublicKeyAndChallengeString):

Source/WebKit/chromium:

* src/PlatformSupport.cpp:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114670 => 114671)


--- trunk/Source/WebCore/ChangeLog	2012-04-19 21:22:29 UTC (rev 114670)
+++ trunk/Source/WebCore/ChangeLog	2012-04-19 21:24:09 UTC (rev 114671)
@@ -1,3 +1,17 @@
+2012-04-19  Mark Pilgrim  <[email protected]>
+
+        [Chromium] Call signedPublicKeyAndChallengeString directly
+        https://bugs.webkit.org/show_bug.cgi?id=84372
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * platform/chromium/PlatformSupport.h:
+        (PlatformSupport):
+        * platform/chromium/SSLKeyGeneratorChromium.cpp:
+        (WebCore::signedPublicKeyAndChallengeString):
+
 2012-04-19  Luke Macpherson  <[email protected]>
 
         Remove unnecessary assignment in CSSParser::parseCubicBezierTimingFunctionValue().

Modified: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (114670 => 114671)


--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-19 21:22:29 UTC (rev 114670)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-19 21:24:09 UTC (rev 114671)
@@ -191,9 +191,6 @@
     static void notifyJSOutOfMemory(Frame*);
     static bool allowScriptDespiteSettings(const KURL& documentURL);
 
-    // Keygen -------------------------------------------------------------
-    static String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String& challenge, const KURL&);
-
     // Language -----------------------------------------------------------
     static String computedDefaultLanguage();
 

Modified: trunk/Source/WebCore/platform/chromium/SSLKeyGeneratorChromium.cpp (114670 => 114671)


--- trunk/Source/WebCore/platform/chromium/SSLKeyGeneratorChromium.cpp	2012-04-19 21:22:29 UTC (rev 114670)
+++ trunk/Source/WebCore/platform/chromium/SSLKeyGeneratorChromium.cpp	2012-04-19 21:24:09 UTC (rev 114671)
@@ -31,9 +31,12 @@
 #include "config.h"
 #include "SSLKeyGenerator.h"
 
-#include "PlatformSupport.h"
 #include "PlatformString.h"
 
+#include <public/Platform.h>
+#include <public/WebString.h>
+#include <public/WebURL.h>
+
 namespace WebCore {
 
 // These are defined in webkit/api/src/LocalizedStrings.cpp.
@@ -49,7 +52,9 @@
 
 String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String& challengeString, const KURL& url)
 {
-    return PlatformSupport::signedPublicKeyAndChallengeString(keySizeIndex, challengeString, url);
+    return WebKit::Platform::current()->signedPublicKeyAndChallengeString(keySizeIndex,
+                                                                          WebKit::WebString(challengeString),
+                                                                          WebKit::WebURL(url));
 }
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/chromium/ChangeLog (114670 => 114671)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-19 21:22:29 UTC (rev 114670)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-19 21:24:09 UTC (rev 114671)
@@ -1,5 +1,17 @@
 2012-04-19  Mark Pilgrim  <[email protected]>
 
+        [Chromium] Call signedPublicKeyAndChallengeString directly
+        https://bugs.webkit.org/show_bug.cgi?id=84372
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * src/PlatformSupport.cpp:
+        (WebCore):
+
+2012-04-19  Mark Pilgrim  <[email protected]>
+
         [Chromium] Call audioHardwareBufferSize directly
         https://bugs.webkit.org/show_bug.cgi?id=84370
 

Modified: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (114670 => 114671)


--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-19 21:22:29 UTC (rev 114670)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-19 21:24:09 UTC (rev 114671)
@@ -539,16 +539,6 @@
     return webKitPlatformSupport()->injectIDBKeyIntoSerializedValue(key, value, keyPath);
 }
 
-// Keygen ---------------------------------------------------------------------
-
-String PlatformSupport::signedPublicKeyAndChallengeString(
-    unsigned keySizeIndex, const String& challenge, const KURL& url)
-{
-    return webKitPlatformSupport()->signedPublicKeyAndChallengeString(keySizeIndex,
-                                                             WebString(challenge),
-                                                             WebURL(url));
-}
-
 // Language -------------------------------------------------------------------
 
 String PlatformSupport::computedDefaultLanguage()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to