WebFrameNetworkingContext.h [plain text]
#ifndef WebFrameNetworkingContext_h
#define WebFrameNetworkingContext_h
#include <WebCore/FrameNetworkingContext.h>
#include <wtf/OwnPtr.h>
namespace WebKit {
class WebFrame;
}
namespace WebCore {
class WebFrameNetworkingContext : public FrameNetworkingContext {
public:
static PassRefPtr<WebFrameNetworkingContext> create(WebKit::WebFrame*);
virtual QObject* originatingObject() const;
private:
WebFrameNetworkingContext(WebKit::WebFrame*);
virtual ~WebFrameNetworkingContext();
virtual QNetworkAccessManager* networkAccessManager() const;
virtual bool mimeSniffingEnabled() const;
virtual bool thirdPartyCookiePolicyPermission(const QUrl&) const;
OwnPtr<QObject> m_originatingObject;
bool m_mimeSniffingEnabled;
};
}
#endif // WebFrameNetworkingContext_h