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/common/resource_messages.h | |
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/common/resource_messages.h')
-rw-r--r-- | content/common/resource_messages.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h index 100f75c..063bfd6 100644 --- a/content/common/resource_messages.h +++ b/content/common/resource_messages.h @@ -229,6 +229,9 @@ IPC_STRUCT_BEGIN(ResourceMsg_RequestCompleteData) // Time the request completed. IPC_STRUCT_MEMBER(base::TimeTicks, completion_time) + + // Total amount of data received from the network. + IPC_STRUCT_MEMBER(int64, encoded_data_length) IPC_STRUCT_END() // Resource messages sent from the browser to the renderer. |