Replace TraceEvent.begin()/end() with explicit names
commit5fdf2607844f13eb6c1563c78de54d8f606335e5
authorboliu <boliu@chromium.org>
Mon, 8 Dec 2014 22:04:47 +0000 (8 14:04 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Dec 2014 22:05:19 +0000 (8 22:05 +0000)
tree121c7335e4dc45434299842598f4e80ce035b2f0
parent936937fe299b4d790d78dcf2408e1f6c07ace5f9
Replace TraceEvent.begin()/end() with explicit names

Replace TraceEvent.begin()/end() calls which implicitly gets the trace
event name by doing a costly stack dump, with explicitly named trace
event names.

Also wrap traces around try/finally.

BUG=439118

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

Cr-Commit-Position: refs/heads/master@{#307348}
chrome/android/java/src/org/chromium/chrome/browser/Tab.java
chrome/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelBase.java
content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java
content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java
content/public/android/java/src/org/chromium/content/browser/ContentView.java
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
content/public/android/java/src/org/chromium/content/common/CleanupReference.java