diff options
author | kinuko <kinuko@chromium.org> | 2016-01-05 20:20:42 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-06 04:21:36 +0000 |
commit | 8573223c0c92e66ef9b3eae6dca70fb093021425 (patch) | |
tree | c08a1fb6463f115281caa2b34dd18d5e1f331b5e /content/child/resource_dispatcher_unittest.cc | |
parent | 438f0fbaa51515906b7ba85f5b113ff5b0bfe7e0 (diff) | |
download | chromium_src-8573223c0c92e66ef9b3eae6dca70fb093021425.zip chromium_src-8573223c0c92e66ef9b3eae6dca70fb093021425.tar.gz chromium_src-8573223c0c92e66ef9b3eae6dca70fb093021425.tar.bz2 |
RequestPeer cleanup: remove unused overrides
Yet another preliminary cleanups.
BUG=507170
Review URL: https://codereview.chromium.org/1553423002
Cr-Commit-Position: refs/heads/master@{#367769}
Diffstat (limited to 'content/child/resource_dispatcher_unittest.cc')
-rw-r--r-- | content/child/resource_dispatcher_unittest.cc | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc index 86391a3..aafa029 100644 --- a/content/child/resource_dispatcher_unittest.cc +++ b/content/child/resource_dispatcher_unittest.cc @@ -725,8 +725,7 @@ TEST_F(ResourceDispatcherTest, SerializedPostData) { // FIXME } -class TimeConversionTest : public ResourceDispatcherTest, - public RequestPeer { +class TimeConversionTest : public ResourceDispatcherTest { public: bool Send(IPC::Message* msg) override { delete msg; @@ -742,38 +741,6 @@ class TimeConversionTest : public ResourceDispatcherTest, ResourceMsg_ReceivedResponse(0, response_head)); } - // RequestPeer methods. - void OnUploadProgress(uint64_t position, uint64_t size) override {} - - bool OnReceivedRedirect(const net::RedirectInfo& redirect_info, - const ResourceResponseInfo& info) override { - return true; - } - - void OnReceivedResponse(const ResourceResponseInfo& info) override { - response_info_ = info; - } - - void OnDownloadedData(int len, int encoded_data_length) override {} - - void OnReceivedData(scoped_ptr<ReceivedData> data) override {} - - void OnCompletedRequest(int error_code, - bool was_ignored_by_handler, - bool stale_copy_in_cache, - const std::string& security_info, - const base::TimeTicks& completion_time, - int64_t total_transfer_size) override {} - - void OnReceivedCompletedResponse(const ResourceResponseInfo& info, - scoped_ptr<ReceivedData> data, - int error_code, - bool was_ignored_by_handler, - bool stale_copy_in_cache, - const std::string& security_info, - const base::TimeTicks& completion_time, - int64_t total_transfer_size) override {} - const ResourceResponseInfo& response_info() const { return response_info_; } private: |