diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 14:57:50 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-04 15:06:55 +0000 |
commit | d0825bca7fe65beaee391d30da42e937db621564 (patch) | |
tree | 7461c49eb5844ffd1f35d1ba2c8b7584c1620823 /WebCore/loader/Request.h | |
parent | 3db770bd97c5a59b6c7574ca80a39e5a51c1defd (diff) | |
download | external_webkit-d0825bca7fe65beaee391d30da42e937db621564.zip external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.gz external_webkit-d0825bca7fe65beaee391d30da42e937db621564.tar.bz2 |
Merge webkit.org at r54127 : Initial merge by git
Change-Id: Ib661abb595522f50ea406f72d3a0ce17f7193c82
Diffstat (limited to 'WebCore/loader/Request.h')
-rw-r--r-- | WebCore/loader/Request.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/WebCore/loader/Request.h b/WebCore/loader/Request.h index 1e02d77..468f8ff 100644 --- a/WebCore/loader/Request.h +++ b/WebCore/loader/Request.h @@ -23,6 +23,7 @@ #ifndef Request_h #define Request_h +#include "FrameLoaderTypes.h" #include <wtf/Vector.h> namespace WebCore { @@ -32,7 +33,7 @@ namespace WebCore { class Request : public Noncopyable { public: - Request(DocLoader*, CachedResource*, bool incremental, bool skipCanLoadCheck, bool sendResourceLoadCallbacks); + Request(DocLoader*, CachedResource*, bool incremental, SecurityCheckPolicy, bool sendResourceLoadCallbacks); ~Request(); Vector<char>& buffer() { return m_buffer; } @@ -45,7 +46,7 @@ namespace WebCore { bool isMultipart() { return m_multipart; } void setIsMultipart(bool b = true) { m_multipart = b; } - bool shouldSkipCanLoadCheck() const { return m_shouldSkipCanLoadCheck; } + SecurityCheckPolicy shouldDoSecurityCheck() const { return m_shouldDoSecurityCheck; } bool sendResourceLoadCallbacks() const { return m_sendResourceLoadCallbacks; } private: @@ -54,7 +55,7 @@ namespace WebCore { DocLoader* m_docLoader; bool m_incremental; bool m_multipart; - bool m_shouldSkipCanLoadCheck; + SecurityCheckPolicy m_shouldDoSecurityCheck; bool m_sendResourceLoadCallbacks; }; |