diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 05:29:52 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-22 05:29:52 +0000 |
commit | a0b2c3333579e6072af5111e8abb2e6ef3c42792 (patch) | |
tree | 2bfb79e567476e2c55cabbe80f13355c9c26e541 /cc | |
parent | 40981da2351fe7fa1eef933578c8ca961ff8ed79 (diff) | |
download | chromium_src-a0b2c3333579e6072af5111e8abb2e6ef3c42792.zip chromium_src-a0b2c3333579e6072af5111e8abb2e6ef3c42792.tar.gz chromium_src-a0b2c3333579e6072af5111e8abb2e6ef3c42792.tar.bz2 |
cc: Show success or failure in the trace event for CopyOutputRequest.
R=piman
Review URL: https://codereview.chromium.org/298863004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r-- | cc/output/copy_output_request.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/output/copy_output_request.cc b/cc/output/copy_output_request.cc index 2d42fa9..97b95e1 100644 --- a/cc/output/copy_output_request.cc +++ b/cc/output/copy_output_request.cc @@ -46,8 +46,9 @@ CopyOutputRequest::~CopyOutputRequest() { } void CopyOutputRequest::SendResult(scoped_ptr<CopyOutputResult> result) { + bool success = !result->IsEmpty(); base::ResetAndReturn(&result_callback_).Run(result.Pass()); - TRACE_EVENT_ASYNC_END0("cc", "CopyOutputRequest", this); + TRACE_EVENT_ASYNC_END1("cc", "CopyOutputRequest", this, "success", success); } void CopyOutputRequest::SendEmptyResult() { |