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

Issue 1994403002: Mark trace data when launching WebView (Closed)

Created:
4 years, 7 months ago by Yoland Yan(Google)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org, sgurun-gerrit only
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mark trace data when launching WebView BUG=613419 Committed: https://crrev.com/a9fa54ee41fb8ef334883c808123268bea188003 Cr-Commit-Position: refs/heads/master@{#396905}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Change #

Total comments: 8

Patch Set 3 : helper functions #

Total comments: 9

Patch Set 4 : Hardcode default tracing tag #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -5 lines) Patch
M android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java View 1 2 3 4 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 30 (9 generated)
Yoland Yan(Google)
4 years, 7 months ago (2016-05-20 01:50:52 UTC) #2
Torne
Does the webview end up with the correct size just setting it as the content ...
4 years, 7 months ago (2016-05-20 10:12:29 UTC) #3
hush (inactive)
+sgurun https://codereview.chromium.org/1994403002/diff/1/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/1/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode56 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:56: wv.loadUrl("about:blank"); On 2016/05/20 10:12:29, Torne wrote: > We ...
4 years, 7 months ago (2016-05-20 22:30:02 UTC) #5
Yoland Yan(Google)
https://codereview.chromium.org/1994403002/diff/1/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/1/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode31 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:31: WebView wv = new WebView(this); On 2016/05/20 10:12:29, Torne ...
4 years, 7 months ago (2016-05-20 22:45:15 UTC) #8
Yoland Yan(Google)
4 years, 7 months ago (2016-05-20 22:45:18 UTC) #9
Torne
On 2016/05/20 22:45:15, yolandyan wrote: > https://codereview.chromium.org/1994403002/diff/1/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java > File > android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java > (right): > > ...
4 years, 7 months ago (2016-05-23 12:47:55 UTC) #10
Torne
https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode60 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:60: Trace.endSection(); Do we need to have some kind of ...
4 years, 7 months ago (2016-05-23 12:49:00 UTC) #11
timvolodine
https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode28 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:28: if (startUpTraceTag != null) { since you have similar ...
4 years, 7 months ago (2016-05-24 10:58:30 UTC) #12
Yoland Yan(Google)
https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/20001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode28 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:28: if (startUpTraceTag != null) { On 2016/05/24 10:58:29, timvolodine ...
4 years, 7 months ago (2016-05-25 00:34:12 UTC) #13
Yoland Yan(Google)
4 years, 7 months ago (2016-05-26 15:34:31 UTC) #15
Yoland Yan(Google)
https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode27 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:27: String startUpTraceTag = intent.getStringExtra("WebViewStartUpTraceTag"); After checking with Juan, consider ...
4 years, 7 months ago (2016-05-26 21:21:18 UTC) #16
Yoland Yan(Google)
4 years, 7 months ago (2016-05-26 21:21:18 UTC) #17
Torne
https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode27 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:27: String startUpTraceTag = intent.getStringExtra("WebViewStartUpTraceTag"); On 2016/05/26 21:21:17, yolandyan wrote: ...
4 years, 6 months ago (2016-05-27 09:52:39 UTC) #18
perezju
ping Not familiar with the codebase here. Does this look landable now? Or are there ...
4 years, 6 months ago (2016-05-31 10:32:54 UTC) #19
timvolodine
lgtm with some comments below https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode27 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:27: String startUpTraceTag = intent.getStringExtra("WebViewStartUpTraceTag"); ...
4 years, 6 months ago (2016-05-31 13:57:42 UTC) #20
Yoland Yan(Google)
https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java File android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java (right): https://codereview.chromium.org/1994403002/diff/40001/android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java#newcode27 android_webview/tools/system_webview_shell/apk/src/org/chromium/webview_shell/TelemetryActivity.java:27: String startUpTraceTag = intent.getStringExtra("WebViewStartUpTraceTag"); On 2016/05/31 13:57:42, timvolodine wrote: ...
4 years, 6 months ago (2016-05-31 19:19:27 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1994403002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1994403002/60001
4 years, 6 months ago (2016-05-31 19:20:50 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-31 20:04:31 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a9fa54ee41fb8ef334883c808123268bea188003 Cr-Commit-Position: refs/heads/master@{#396905}
4 years, 6 months ago (2016-05-31 20:44:53 UTC) #27
nednguyen
Why can we add these trace probes in the Webview's constructor? That's way, we can ...
4 years, 6 months ago (2016-06-03 00:47:39 UTC) #29
Torne
4 years, 6 months ago (2016-06-03 10:39:32 UTC) #30
Message was sent while issue was closed.
On 2016/06/03 00:47:39, nednguyen wrote:
> Why can we add these trace probes in the Webview's constructor? That's way, we
> can also have these data & metrics working for any android app that uses
> webview.

Followed up about this on the bug.

Powered by Google App Engine
This is Rietveld 408576698