Changeset 129524 in webkit


Ignore:
Timestamp:
Sep 25, 2012, 10:22:28 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Reverting implementation for 407 error pages
https://bugs.webkit.org/show_bug.cgi?id=97455

Patch by commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> on 2012-09-25
Reviewed by Rob Buis.

Adding additional fixes to NetworkJob since BlackBerry::Platform::Client
is no longer avaliable. Using BlackBerryPlatformSettings to get proxy
information instead.

BlackBerryPlatformClient was deleted in PR 170160.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::sendRequestWithCredentials):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r129523 r129524  
     12012-09-25  commit-queue@webkit.org  <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
     2
     3        [BlackBerry] Reverting implementation for 407 error pages
     4        https://bugs.webkit.org/show_bug.cgi?id=97455
     5
     6        Reviewed by Rob Buis.
     7
     8        Adding additional fixes to NetworkJob since BlackBerry::Platform::Client
     9        is no longer avaliable. Using BlackBerryPlatformSettings to get proxy
     10        information instead.
     11
     12        BlackBerryPlatformClient was deleted in PR 170160.
     13
     14        * platform/network/blackberry/NetworkJob.cpp:
     15        (WebCore::NetworkJob::sendRequestWithCredentials):
     16
    1172012-09-25  Hans Wennborg  <hans@chromium.org>
    218
  • trunk/Source/WebCore/platform/network/blackberry/NetworkJob.cpp

    r129504 r129524  
    721721    int port;
    722722    if (type == ProtectionSpaceProxyHTTP) {
    723         String proxyAddress = BlackBerry::Platform::Client::get()->getProxyAddress(newURL.string().ascii().data()).c_str();
     723        String proxyAddress = String(BlackBerry::Platform::Settings::instance()->proxyAddress(newURL.string().ascii().data()).c_str());
    724724        KURL proxyURL(KURL(), proxyAddress);
    725725        host = proxyURL.host();
     
    756756
    757757        if (type == ProtectionSpaceProxyHTTP) {
    758             username = BlackBerry::Platform::Client::get()->getProxyUsername().c_str();
    759             password = BlackBerry::Platform::Client::get()->getProxyPassword().c_str();
     758            username = String(BlackBerry::Platform::Settings::instance()->proxyUsername().c_str());
     759            password = String(BlackBerry::Platform::Settings::instance()->proxyPassword().c_str());
    760760        }
    761761
Note: See TracChangeset for help on using the changeset viewer.