| Index: content/public/child/resource_dispatcher_delegate.h
|
| diff --git a/content/public/child/resource_dispatcher_delegate.h b/content/public/child/resource_dispatcher_delegate.h
|
| index 8c67e075900ba879d6eb3d18204295adc313cf23..33809df06986569fcc0a2be588bbfc69a13b4e87 100644
|
| --- a/content/public/child/resource_dispatcher_delegate.h
|
| +++ b/content/public/child/resource_dispatcher_delegate.h
|
| @@ -5,24 +5,30 @@
|
| #ifndef CONTENT_PUBLIC_CHILD_RESOURCE_DISPATCHER_DELEGATE_H_
|
| #define CONTENT_PUBLIC_CHILD_RESOURCE_DISPATCHER_DELEGATE_H_
|
|
|
| +#include <string>
|
| +
|
| #include "content/common/content_export.h"
|
| -#include "webkit/child/resource_loader_bridge.h"
|
| +#include "webkit/common/resource_type.h"
|
| +
|
| +class GURL;
|
|
|
| namespace content {
|
|
|
| +class RequestDelegatePeer;
|
| +
|
| // Interface that allows observing request events and optionally replacing the
|
| // peer.
|
| class CONTENT_EXPORT ResourceDispatcherDelegate {
|
| public:
|
| virtual ~ResourceDispatcherDelegate() {}
|
|
|
| - virtual webkit_glue::ResourceLoaderBridge::Peer* OnRequestComplete(
|
| - webkit_glue::ResourceLoaderBridge::Peer* current_peer,
|
| + virtual RequestDelegatePeer* OnRequestComplete(
|
| + RequestDelegatePeer* current_peer,
|
| ResourceType::Type resource_type,
|
| int error_code) = 0;
|
|
|
| - virtual webkit_glue::ResourceLoaderBridge::Peer* OnReceivedResponse(
|
| - webkit_glue::ResourceLoaderBridge::Peer* current_peer,
|
| + virtual RequestDelegatePeer* OnReceivedResponse(
|
| + RequestDelegatePeer* current_peer,
|
| const std::string& mime_type,
|
| const GURL& url) = 0;
|
| };
|
|
|