Adding instrumentation to locate the source of jankiness.
commitb60049a86e45b0160f378624c5dfd99d667c5262
authorpkasting <pkasting@chromium.org>
Sat, 7 Feb 2015 03:25:25 +0000 (6 19:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 7 Feb 2015 03:26:04 +0000 (7 03:26 +0000)
treec78c62c583378fb980658d01f34c9564d3dc9804
parent03c6092634d353ebcc0733d84e4b0378b5708dd1
Adding instrumentation to locate the source of jankiness.

Mechanical change that adds instrumentation required to locate the source of
jankiness (i.e. a long-running fragment of code executed as a part of the task
that causes jank) in the code. See the bug for details on what kind of jank we
are after.  A number of similar CLs were landed, and none of them caused issues.
The code of the instrumentation is highly optimized and is not expected to
affect performance. The code simply creates a diagnostic task which is identical
to ones created by PostTask or IPC message handlers.

BUG=456327,456331,456373
TEST=none
TBR=mmenke, erikwright

Review URL: https://codereview.chromium.org/894903004

Cr-Commit-Position: refs/heads/master@{#315173}
content/browser/loader/resource_dispatcher_host_impl.cc
content/browser/net/sqlite_persistent_cookie_store.cc
net/cookies/cookie_monster.cc
net/url_request/url_fetcher_core.cc