webengine/osswebengine/WebCore/platform/network/symbian/HttpSessionManager.h
branchRCL_3
changeset 48 79859ed3eea9
parent 41 4bd5176e1bc8
child 49 919f36ff910f
equal deleted inserted replaced
47:e1bea15f9a39 48:79859ed3eea9
    93 	void setClientAcceptHeadersL(const TDesC& headers);
    93 	void setClientAcceptHeadersL(const TDesC& headers);
    94 	bool httpPipelining() {return m_httpPipelining;}
    94 	bool httpPipelining() {return m_httpPipelining;}
    95     void UpdateCacheL( const WebCore::String& url, const WebCore::String &equiv, const WebCore::String &content );
    95     void UpdateCacheL( const WebCore::String& url, const WebCore::String &equiv, const WebCore::String &content );
    96 	void ResetOutstandingSelfDl() {m_OutstandingSelfDl = false; }
    96 	void ResetOutstandingSelfDl() {m_OutstandingSelfDl = false; }
    97     const RPointerArray<HBufC8>& ClientAcceptHeaders() const { return m_ClientAcceptHeaders; }
    97     const RPointerArray<HBufC8>& ClientAcceptHeaders() const { return m_ClientAcceptHeaders; }
    98     void retryTransactions();
    98     
    99     void setRetryConnectivityFlag(){ retryConnectivityFlag = ETrue; }
       
   100     TBool getRetryConnectivityFlag(){ return retryConnectivityFlag; }
       
   101     void unSetRetryConnectivityFlag(){ retryConnectivityFlag = EFalse; }    
       
   102     TUint pendingTransactionsCount(){ return m_pendingHttpRequests.size(); }
       
   103     TBool isInSecureConnection() {return m_inSecConnection;}
       
   104     void setInSecureConnection(TBool inSecCon) {m_inSecConnection = inSecCon;}    
       
   105     void cancelQueuedTransactions();
       
   106     void startTimer();
       
   107     void deleteTimer();
       
   108 
       
   109 private:
    99 private:
   110     void updateFilters(bool initializing = false);
   100     void updateFilters(bool initializing = false);
   111     int count();
   101     int count();
   112     HttpDlConnection* CreateHttpDlConnection();
   102     HttpDlConnection* CreateHttpDlConnection();
   113 	void downloadL(WebCore::ResourceHandle* handle, const WebCore::ResourceRequest& request, const WebCore::ResourceResponse& response, HttpConnection* connection);
   103 	void downloadL(WebCore::ResourceHandle* handle, const WebCore::ResourceRequest& request, const WebCore::ResourceResponse& response, HttpConnection* connection);
   136     HttpDownload* m_httpDownload;
   126     HttpDownload* m_httpDownload;
   137     SelfDownloadContentHandler* m_SelfDownloadContentHandler;
   127     SelfDownloadContentHandler* m_SelfDownloadContentHandler;
   138     HBufC* m_SelfDownloadContentTypes;
   128     HBufC* m_SelfDownloadContentTypes;
   139 	bool m_OutstandingSelfDl;
   129 	bool m_OutstandingSelfDl;
   140 	RPointerArray<HBufC8> m_ClientAcceptHeaders;
   130 	RPointerArray<HBufC8> m_ClientAcceptHeaders;
   141 	TBool retryConnectivityFlag;
       
   142 	TBool m_inSecConnection;
       
   143 	CPeriodic* m_resetTimer;
       
   144 
       
   145 };
   131 };
   146 #endif // __HTTPSESSIONMANAGER_H__
   132 #endif // __HTTPSESSIONMANAGER_H__
   147 // end of file
   133 // end of file