~ubuntu-branches/ubuntu/lucid/webkit/lucid-updates

« back to all changes in this revision

Viewing changes to WebCore/loader/Request.h

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-01-06 21:25:06 UTC
  • mfrom: (1.2.6 upstream) (4.3.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100106212506-gd0czn4zrwf1j19l
* New upstream release
- adds basic Content-Encoding support, thanks to soup
  (Closes: #529271)
- fixes over-advertising content types as supported by
  the media player (Closes: #559420)
* debian/control:
- updated libsoup build requirement (>= 2.28.2)
* debian/libwebkit-1.0-2.symbols:
- updated with new symbols
* debian/copyright:
- updated information since 1.1.17
* Imported patch from https://bugs.webkit.org/show_bug.cgi?id=30623
- I am shipping this patch because I believe it is correct, it is the
  way to go, it fixes a race, and it needs testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef Request_h
24
24
#define Request_h
25
25
 
 
26
#include "FrameLoaderTypes.h"
26
27
#include <wtf/Vector.h>
27
28
 
28
29
namespace WebCore {
32
33
 
33
34
    class Request : public Noncopyable {
34
35
    public:
35
 
        Request(DocLoader*, CachedResource*, bool incremental, bool skipCanLoadCheck, bool sendResourceLoadCallbacks);
 
36
        Request(DocLoader*, CachedResource*, bool incremental, SecurityCheckPolicy, bool sendResourceLoadCallbacks);
36
37
        ~Request();
37
38
        
38
39
        Vector<char>& buffer() { return m_buffer; }
45
46
        bool isMultipart() { return m_multipart; }
46
47
        void setIsMultipart(bool b = true) { m_multipart = b; }
47
48
 
48
 
        bool shouldSkipCanLoadCheck() const { return m_shouldSkipCanLoadCheck; }
 
49
        SecurityCheckPolicy shouldDoSecurityCheck() const { return m_shouldDoSecurityCheck; }
49
50
        bool sendResourceLoadCallbacks() const { return m_sendResourceLoadCallbacks; }
50
51
        
51
52
    private:
54
55
        DocLoader* m_docLoader;
55
56
        bool m_incremental;
56
57
        bool m_multipart;
57
 
        bool m_shouldSkipCanLoadCheck;
 
58
        SecurityCheckPolicy m_shouldDoSecurityCheck;
58
59
        bool m_sendResourceLoadCallbacks;
59
60
    };
60
61