Title: [161821] trunk/Source/WebCore
- Revision
- 161821
- Author
- [email protected]
- Date
- 2014-01-12 12:06:18 -0800 (Sun, 12 Jan 2014)
Log Message
Move implementation of AuthenticationChallenge::setAuthenticationClient() to source file for USE(CFNETWORK)
<http://webkit.org/b/126848>
Reviewed by Simon Fraser.
* platform/network/cf/AuthenticationCF.cpp:
(WebCore::AuthenticationChallenge::setAuthenticationClient):
Move implementation to here...
* platform/network/cf/AuthenticationChallenge.h: ...from here.
Remove duplicate header definitions inside USE(CFNETWORK).
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (161820 => 161821)
--- trunk/Source/WebCore/ChangeLog 2014-01-12 20:04:55 UTC (rev 161820)
+++ trunk/Source/WebCore/ChangeLog 2014-01-12 20:06:18 UTC (rev 161821)
@@ -1,3 +1,16 @@
+2014-01-12 David Kilzer <[email protected]>
+
+ Move implementation of AuthenticationChallenge::setAuthenticationClient() to source file for USE(CFNETWORK)
+ <http://webkit.org/b/126848>
+
+ Reviewed by Simon Fraser.
+
+ * platform/network/cf/AuthenticationCF.cpp:
+ (WebCore::AuthenticationChallenge::setAuthenticationClient):
+ Move implementation to here...
+ * platform/network/cf/AuthenticationChallenge.h: ...from here.
+ Remove duplicate header definitions inside USE(CFNETWORK).
+
2014-01-12 Sam Weinig <[email protected]>
Fix windows.
Modified: trunk/Source/WebCore/platform/network/cf/AuthenticationCF.cpp (161820 => 161821)
--- trunk/Source/WebCore/platform/network/cf/AuthenticationCF.cpp 2014-01-12 20:04:55 UTC (rev 161820)
+++ trunk/Source/WebCore/platform/network/cf/AuthenticationCF.cpp 2014-01-12 20:06:18 UTC (rev 161821)
@@ -68,6 +68,11 @@
{
}
+void AuthenticationChallenge::setAuthenticationClient(AuthenticationClient* client)
+{
+ m_authenticationClient = client;
+}
+
AuthenticationClient* AuthenticationChallenge::authenticationClient() const
{
return m_authenticationClient.get();
Modified: trunk/Source/WebCore/platform/network/cf/AuthenticationChallenge.h (161820 => 161821)
--- trunk/Source/WebCore/platform/network/cf/AuthenticationChallenge.h 2014-01-12 20:04:55 UTC (rev 161820)
+++ trunk/Source/WebCore/platform/network/cf/AuthenticationChallenge.h 2014-01-12 20:06:18 UTC (rev 161821)
@@ -53,19 +53,16 @@
#if USE(CFNETWORK)
AuthenticationChallenge(CFURLAuthChallengeRef, AuthenticationClient*);
- AuthenticationClient* authenticationClient() const;
- void setAuthenticationClient(AuthenticationClient* client) { m_authenticationClient = client; }
-
CFURLAuthChallengeRef cfURLAuthChallengeRef() const { return m_cfChallenge.get(); }
#else
AuthenticationChallenge(NSURLAuthenticationChallenge *);
id sender() const { return m_sender.get(); }
NSURLAuthenticationChallenge *nsURLAuthenticationChallenge() const { return m_nsChallenge.get(); }
+#endif
void setAuthenticationClient(AuthenticationClient*); // Changes sender to one that invokes client methods.
AuthenticationClient* authenticationClient() const;
-#endif
private:
friend class AuthenticationChallengeBase;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes