Changeset 52610 in webkit


Ignore:
Timestamp:
Dec 28, 2009 10:49:58 PM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-28 Andrei Popescu <andreip@google.com>

Reviewed by Dmitry Titov.

On Android, ResourceHandle instances make use of a pointer to a
ResourceLoaderAndroid pointer. This needs to be stored in order to later cancel
the load, if necessary. Since this pointer is an internal implementation
details of ResourceHandle on Android, it needs to be stored in the
ResourceHandleInternal class. This patch adds this pointer.
https://bugs.webkit.org/show_bug.cgi?id=32873

No new tests needed, this is platform-specific code.

  • platform/network/ResourceHandle.h:
  • platform/network/ResourceHandleInternal.h: (WebCore::ResourceHandleInternal::ResourceHandleInternal):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52609 r52610  
     12009-12-28  Andrei Popescu  <andreip@google.com>
     2
     3        Reviewed by Dmitry Titov.
     4
     5        On Android, ResourceHandle instances make use of a pointer to a
     6        ResourceLoaderAndroid pointer. This needs to be stored in order to later cancel
     7        the load, if necessary. Since this pointer is an internal implementation
     8        details of ResourceHandle on Android, it needs to be stored in the
     9        ResourceHandleInternal class. This patch adds this pointer.
     10        https://bugs.webkit.org/show_bug.cgi?id=32873
     11
     12        No new tests needed, this is platform-specific code.
     13
     14        * platform/network/ResourceHandle.h:
     15        * platform/network/ResourceHandleInternal.h:
     16        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
     17
    1182009-12-28  Charles Wei  <charles.wei@torchmobile.com.cn>
    219
  • trunk/WebCore/platform/network/ResourceHandle.h

    r51490 r52610  
    171171#endif
    172172
    173 #if PLATFORM(QT) || USE(CURL) || USE(SOUP)
     173#if PLATFORM(QT) || USE(CURL) || USE(SOUP) || PLATFORM(ANDROID)
    174174    ResourceHandleInternal* getInternal() { return d.get(); }
    175175#endif
  • trunk/WebCore/platform/network/ResourceHandleInternal.h

    r51174 r52610  
    6969#endif
    7070
     71#if PLATFORM(ANDROID)
     72#include "ResourceLoaderAndroid.h"
     73#endif
     74
    7175// The allocations and releases in ResourceHandleInternal are
    7276// Cocoa-exception-free (either simple Foundation classes or
     
    212216        NSURLAuthenticationChallenge *m_currentMacChallenge;
    213217#endif
     218#if PLATFORM(ANDROID)
     219        RefPtr<ResourceLoaderAndroid> m_loader;
     220#endif
    214221        AuthenticationChallenge m_currentWebChallenge;
    215222
Note: See TracChangeset for help on using the changeset viewer.