diff options
author | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 14:47:18 +0000 |
---|---|---|
committer | eustas@chromium.org <eustas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 14:47:18 +0000 |
commit | 3b379710e2793437250bbbd3ecff347a89b8651c (patch) | |
tree | ae8ce08fc58318be4eb7cdb36dbc288e8503887d /content/content_common.gypi | |
parent | 4a40facd835161458b7c9b9ac427e989742664fd (diff) | |
download | chromium_src-3b379710e2793437250bbbd3ecff347a89b8651c.zip chromium_src-3b379710e2793437250bbbd3ecff347a89b8651c.tar.gz chromium_src-3b379710e2793437250bbbd3ecff347a89b8651c.tar.bz2 |
Inject renderer receive message time into resource notifications.
Previously time calculations based on "now"-time taken when renderer processed resource notification messages.
Renderer time is calculated by interpolation based on taken values. Because of long JS evaluation or heavy rendering, "renderer" time range might be skewed.
To fix situation, "renderer" time should be taken when IPC messages are processed by renderer IO thread.
This patch adds message filter that supplies aforementioned messages with timestamps.
BUG=223836
Review URL: https://chromiumcodereview.appspot.com/14646006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index c5cc0d6..9e3be02 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -140,6 +140,8 @@ 'common/child_process_sandbox_support_impl_linux.cc', 'common/child_process_sandbox_support_impl_linux.h', 'common/child_process_sandbox_support_impl_shm_linux.cc', + 'common/child_resource_message_filter.cc', + 'common/child_resource_message_filter.h', 'common/child_thread.cc', 'common/child_thread.h', 'common/clipboard_messages.cc', |