| Index: chrome/renderer/security_filter_peer.h
|
| diff --git a/chrome/renderer/security_filter_peer.h b/chrome/renderer/security_filter_peer.h
|
| index ef3bc3b6b3c97955097035a05f9b868874830c1e..0ce60922dd95da4175a84d2502ab1fe224d70671 100644
|
| --- a/chrome/renderer/security_filter_peer.h
|
| +++ b/chrome/renderer/security_filter_peer.h
|
| @@ -4,8 +4,6 @@
|
|
|
| #ifndef CHROME_RENDERER_SECURITY_FILTER_PEER_H_
|
| #define CHROME_RENDERER_SECURITY_FILTER_PEER_H_
|
| -
|
| -#include <string>
|
|
|
| #include "content/public/child/request_peer.h"
|
| #include "content/public/common/resource_response_info.h"
|
| @@ -37,7 +35,9 @@
|
| const content::ResourceResponseInfo& info) override;
|
| void OnReceivedResponse(const content::ResourceResponseInfo& info) override;
|
| void OnDownloadedData(int len, int encoded_data_length) override {}
|
| - void OnReceivedData(scoped_ptr<ReceivedData> data) override;
|
| + void OnReceivedData(const char* data,
|
| + int data_length,
|
| + int encoded_data_length) override;
|
| void OnCompletedRequest(int error_code,
|
| bool was_ignored_by_handler,
|
| bool stale_copy_in_cache,
|
| @@ -63,7 +63,9 @@
|
|
|
| // content::RequestPeer Implementation.
|
| void OnReceivedResponse(const content::ResourceResponseInfo& info) override;
|
| - void OnReceivedData(scoped_ptr<ReceivedData> data) override;
|
| + void OnReceivedData(const char* data,
|
| + int data_length,
|
| + int encoded_data_length) override;
|
| void OnCompletedRequest(int error_code,
|
| bool was_ignored_by_handler,
|
| bool stale_copy_in_cache,
|
| @@ -102,7 +104,9 @@
|
|
|
| // content::RequestPeer Implementation.
|
| void OnReceivedResponse(const content::ResourceResponseInfo& info) override;
|
| - void OnReceivedData(scoped_ptr<ReceivedData> data) override;
|
| + void OnReceivedData(const char* data,
|
| + int data_length,
|
| + int encoded_data_length) override;
|
| void OnCompletedRequest(int error_code,
|
| bool was_ignored_by_handler,
|
| bool stale_copy_in_cache,
|
|
|