Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 183183011: Move atrace enabling code from Chrome to WebView (Closed)

Created:
6 years, 9 months ago by Xianzhu
Modified:
6 years, 9 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move atrace enabling code from Chrome to WebView According to discussions, we decided to disable atrace for Chrome because of the inaccuracy of timing in the trace due to the overhead of atrace. As WebView still needs atrace, move the atrace enabling code into AwBrowserProcess. BUG=trace-viewer:454 (https://code.google.com/p/trace-viewer/issues/detail?id=454) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256186

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove sATraceEnabled #

Patch Set 3 : Comments #

Total comments: 2

Patch Set 4 : TODO #

Patch Set 5 : Update findbugs (remove an obsolete exception rule) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -72 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java View 1 2 3 2 chunks +54 lines, -0 lines 0 comments Download
M base/android/java/src/org/chromium/base/TraceEvent.java View 1 2 2 chunks +14 lines, -71 lines 0 comments Download
M build/android/findbugs_filter/findbugs_known_bugs.txt View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Xianzhu
6 years, 9 months ago (2014-03-06 19:11:09 UTC) #1
Yaron
lgtm istm like you could have a BUG= with some brief context on the change ...
6 years, 9 months ago (2014-03-06 21:24:15 UTC) #2
Xianzhu
On 2014/03/06 21:24:15, Yaron wrote: > lgtm > > istm like you could have a ...
6 years, 9 months ago (2014-03-06 21:54:41 UTC) #3
Yaron
much cleaner, thanks
6 years, 9 months ago (2014-03-06 22:06:36 UTC) #4
benm (inactive)
lgtm thanks! https://codereview.chromium.org/183183011/diff/30001/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java File android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java (right): https://codereview.chromium.org/183183011/diff/30001/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java#newcode47 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java:47: final Class<?> traceClass = Class.forName("android.os.Trace"); maybe for ...
6 years, 9 months ago (2014-03-07 08:38:02 UTC) #5
benm (inactive)
Do you have a full link to the bug? I don't know how to resolve ...
6 years, 9 months ago (2014-03-07 08:38:47 UTC) #6
Xianzhu
Added full issue link in description. https://codereview.chromium.org/183183011/diff/30001/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java File android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java (right): https://codereview.chromium.org/183183011/diff/30001/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java#newcode47 android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java:47: final Class<?> traceClass ...
6 years, 9 months ago (2014-03-07 17:21:37 UTC) #7
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 9 months ago (2014-03-07 17:21:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/183183011/50001
6 years, 9 months ago (2014-03-07 17:21:50 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 17:27:05 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg
6 years, 9 months ago (2014-03-07 17:27:06 UTC) #11
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 9 months ago (2014-03-10 19:01:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/183183011/50001
6 years, 9 months ago (2014-03-10 19:05:33 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-10 21:06:33 UTC) #14
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=159191
6 years, 9 months ago (2014-03-10 21:06:34 UTC) #15
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 9 months ago (2014-03-10 21:21:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/183183011/70001
6 years, 9 months ago (2014-03-10 21:36:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/183183011/70001
6 years, 9 months ago (2014-03-10 22:11:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/183183011/70001
6 years, 9 months ago (2014-03-10 23:36:14 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 10:57:42 UTC) #20
Message was sent while issue was closed.
Change committed as 256186

Powered by Google App Engine
This is Rietveld 408576698