Merge revision 1301 changes:

- Add trace events for SendProcessMessage and off-screen rendering (issue #991).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1453@1302 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-07-11 17:45:49 +00:00
parent ce09018499
commit 5ea825156a
4 changed files with 21 additions and 0 deletions

View File

@@ -586,6 +586,10 @@ void CefBrowserImpl::OnRequest(const Cef_Request_Params& params) {
std::string response;
bool expect_response_ack = false;
TRACE_EVENT2("libcef", "CefBrowserImpl::OnRequest",
"request_id", params.request_id,
"expect_response", params.expect_response ? 1 : 0);
if (params.user_initiated) {
// Give the user a chance to handle the request.
CefRefPtr<CefApp> app = CefContentClient::Get()->application();