equal
deleted
inserted
replaced
18 #include "ResourceHandle.h" |
18 #include "ResourceHandle.h" |
19 #include "ResourceHandleManagerSymbian.h" |
19 #include "ResourceHandleManagerSymbian.h" |
20 #include "ResolvedConnection.h" |
20 #include "ResolvedConnection.h" |
21 #include "ResourceRequest.h" |
21 #include "ResourceRequest.h" |
22 |
22 |
23 #include "BrCtl.h" |
23 #include "Brctl.h" |
24 #include "WebFrame.h" |
24 #include "WebFrame.h" |
25 |
25 |
26 // EXTERNAL DATA STRUCTURES |
26 // EXTERNAL DATA STRUCTURES |
27 |
27 |
28 // EXTERNAL FUNCTION PROTOTYPES |
28 // EXTERNAL FUNCTION PROTOTYPES |
80 return KErrNone; |
80 return KErrNone; |
81 } |
81 } |
82 |
82 |
83 void ResolvedConnection::cancel() |
83 void ResolvedConnection::cancel() |
84 { |
84 { |
85 control(m_frame)->brCtlLinkResolver()->CancelAll(); |
85 if(m_frame) { |
|
86 control(m_frame)->brCtlLinkResolver()->CancelAll(); |
|
87 } |
86 } |
88 } |
87 |
89 |
88 void ResolvedConnection::download(ResourceHandle* handle, |
90 void ResolvedConnection::download(ResourceHandle* handle, |
89 const ResourceRequest& request, |
91 const ResourceRequest& request, |
90 const ResourceResponse& response) |
92 const ResourceResponse& response) |