Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: webkit/api/src/SocketStreamHandle.cpp

Issue 293021: Introduce WebSecurityPolicy for security related methods (Closed)
Patch Set: socket needs weburl import Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/api/public/WebSecurityPolicy.h ('k') | webkit/api/src/WebKit.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #if ENABLE(WEB_SOCKETS) 34 #if ENABLE(WEB_SOCKETS)
35 35
36 #include "Logging.h" 36 #include "Logging.h"
37 #include "NotImplemented.h" 37 #include "NotImplemented.h"
38 #include "SocketStreamHandleClient.h" 38 #include "SocketStreamHandleClient.h"
39 #include "WebData.h" 39 #include "WebData.h"
40 #include "WebKit.h" 40 #include "WebKit.h"
41 #include "WebKitClient.h" 41 #include "WebKitClient.h"
42 #include "WebSocketStreamHandle.h" 42 #include "WebSocketStreamHandle.h"
43 #include "WebSocketStreamHandleClient.h" 43 #include "WebSocketStreamHandleClient.h"
44 #include "WebURL.h"
44 #include <wtf/PassOwnPtr.h> 45 #include <wtf/PassOwnPtr.h>
45 46
46 using namespace WebKit; 47 using namespace WebKit;
47 48
48 namespace WebCore { 49 namespace WebCore {
49 50
50 class SocketStreamHandleInternal : public WebSocketStreamHandleClient { 51 class SocketStreamHandleInternal : public WebSocketStreamHandleClient {
51 public: 52 public:
52 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle) 53 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle)
53 { 54 {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 248
248 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge& challenge) 249 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge& challenge)
249 { 250 {
250 if (m_client) 251 if (m_client)
251 m_client->receivedCancellation(this, challenge); 252 m_client->receivedCancellation(this, challenge);
252 } 253 }
253 254
254 } // namespace WebCore 255 } // namespace WebCore
255 256
256 #endif // ENABLE(WEB_SOCKETS) 257 #endif // ENABLE(WEB_SOCKETS)
OLDNEW
« no previous file with comments | « webkit/api/public/WebSecurityPolicy.h ('k') | webkit/api/src/WebKit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698