| Index: net/http/http_cache.cc
|
| ===================================================================
|
| --- net/http/http_cache.cc (revision 12402)
|
| +++ net/http/http_cache.cc (working copy)
|
| @@ -166,6 +166,7 @@
|
| virtual int RestartWithAuth(const std::wstring& username,
|
| const std::wstring& password,
|
| CompletionCallback* callback);
|
| + virtual bool IsReadyToRestartForAuth();
|
| virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback*);
|
| virtual const HttpResponseInfo* GetResponseInfo() const;
|
| virtual LoadState GetLoadState() const;
|
| @@ -402,6 +403,12 @@
|
| return rv;
|
| }
|
|
|
| +bool HttpCache::Transaction::IsReadyToRestartForAuth() {
|
| + if (!network_trans_.get())
|
| + return false;
|
| + return network_trans_->IsReadyToRestartForAuth();
|
| +}
|
| +
|
| int HttpCache::Transaction::Read(IOBuffer* buf, int buf_len,
|
| CompletionCallback* callback) {
|
| DCHECK(buf);
|
|
|