| Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/simple_resource_loader_bridge.cc (revision 9948)
|
| +++ webkit/tools/test_shell/simple_resource_loader_bridge.cc (working copy)
|
| @@ -172,9 +172,10 @@
|
| peer_->OnReceivedData(buf_copy.get(), bytes_read);
|
| }
|
|
|
| - void NotifyCompletedRequest(const URLRequestStatus& status) {
|
| + void NotifyCompletedRequest(const URLRequestStatus& status,
|
| + const std::string& security_info) {
|
| if (peer_) {
|
| - peer_->OnCompletedRequest(status);
|
| + peer_->OnCompletedRequest(status, security_info);
|
| DropPeer(); // ensure no further notifications
|
| }
|
| }
|
| @@ -245,9 +246,10 @@
|
| this, &RequestProxy::NotifyReceivedData, bytes_read));
|
| }
|
|
|
| - virtual void OnCompletedRequest(const URLRequestStatus& status) {
|
| + virtual void OnCompletedRequest(const URLRequestStatus& status,
|
| + const std::string& security_info) {
|
| owner_loop_->PostTask(FROM_HERE, NewRunnableMethod(
|
| - this, &RequestProxy::NotifyCompletedRequest, status));
|
| + this, &RequestProxy::NotifyCompletedRequest, status, security_info));
|
| }
|
|
|
| // --------------------------------------------------------------------------
|
| @@ -288,7 +290,7 @@
|
|
|
| void Done() {
|
| DCHECK(request_.get());
|
| - OnCompletedRequest(request_->status());
|
| + OnCompletedRequest(request_->status(), std::string());
|
| request_.reset(); // destroy on the io thread
|
| }
|
|
|
|
|