diff options
author | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-10 12:54:57 +0000 |
---|---|---|
committer | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-10 12:54:57 +0000 |
commit | c8c56758c394793fd106f6607b50f0966976e135 (patch) | |
tree | f75a94538866b7b68dfa5a7217e61a2fdae859d5 /content/child/resource_dispatcher_unittest.cc | |
parent | fd00e49adcf05f05a5cff215abed207e738c606c (diff) | |
download | chromium_src-c8c56758c394793fd106f6607b50f0966976e135.zip chromium_src-c8c56758c394793fd106f6607b50f0966976e135.tar.gz chromium_src-c8c56758c394793fd106f6607b50f0966976e135.tar.bz2 |
Add transfer size paramater to didFinishLoading [2/3]
Mini DD:
https://docs.google.com/a/chromium.org/document/d/1kAKnBKofLc3Tex_JPveubwJcQLT3BhIL3xNQyjvRIps/edit?usp=sharing
Most of files contain only signature changes.
There are 3 non-trivial changes:
1) ResourceMsg_RequestComplete IPC message receives struct instead of distinct parameters.
2) Use URLRequest::GetTotalReceivedBytes instead of DevToolsNetLogObserver::GetAndResetEncodedDataLength
3) Remove unused code in DevToolsNetLogObserver.
BUG=111052
Review URL: https://codereview.chromium.org/143263002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250069 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child/resource_dispatcher_unittest.cc')
-rw-r--r-- | content/child/resource_dispatcher_unittest.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc index 7ff9ac3..6452575 100644 --- a/content/child/resource_dispatcher_unittest.cc +++ b/content/child/resource_dispatcher_unittest.cc @@ -72,7 +72,8 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer { bool was_ignored_by_handler, bool stale_copy_in_cache, const std::string& security_info, - const base::TimeTicks& completion_time) OVERRIDE { + const base::TimeTicks& completion_time, + int64 total_transfer_size) OVERRIDE { EXPECT_FALSE(complete_); complete_ = true; } @@ -298,7 +299,8 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest, bool was_ignored_by_handler, bool stale_copy_in_cache, const std::string& security_info, - const base::TimeTicks& completion_time) OVERRIDE { + const base::TimeTicks& completion_time, + int64 total_transfer_size) OVERRIDE { } protected: @@ -386,7 +388,8 @@ class TimeConversionTest : public ResourceDispatcherTest, bool was_ignored_by_handler, bool stale_copy_in_cache, const std::string& security_info, - const base::TimeTicks& completion_time) OVERRIDE { + const base::TimeTicks& completion_time, + int64 total_transfer_size) OVERRIDE { } const ResourceResponseInfo& response_info() const { return response_info_; } |