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

Issue 2655023008: [Android WebView] Ensure Android Checkbox is on when uploading minidumps (Closed)

Created:
3 years, 10 months ago by gsennton
Modified:
3 years, 10 months ago
CC:
chromium-reviews, kalyank, sadrul, android-webview-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android WebView] Ensure Android Checkbox is on when uploading minidumps Since minidump uploading can happen long after we copy minidumps to WebView's separate minidump uploading service (and thus long after our initial check to ensure the Android Checkbox is toggled on), the user could have toggled the Checkbox off by the time we upload minidumps. We now ensure the Checkbox is toggled on just before we upload the minidumps. This check can be overridden on debuggable builds through the enable-crash-reporter-for-testing command line flag. BUG=685576 Review-Url: https://codereview.chromium.org/2655023008 Cr-Commit-Position: refs/heads/master@{#448600} Committed: https://chromium.googlesource.com/chromium/src/+/30d6e25b2f1c69090883e97110877815f1ae3c72

Patch Set 1 #

Patch Set 2 : Pass enabled-for-testing flag and U&D value to CrashReportingPermissionManager #

Total comments: 9

Patch Set 3 : Fix MinidumpUploaderTest to use custom PlatformServiceBridge, add threading asserts, make mCancelUp… #

Patch Set 4 : Remove uses of volatile. #

Total comments: 2

Patch Set 5 : Add tests to ensure return-value from PlatformServicesBridge is handled correctly. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -81 lines) Patch
M android_webview/BUILD.gn View 1 2 chunks +10 lines, -0 lines 0 comments Download
M android_webview/glue/glue.gni View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/glue/java/src/com/android/webview/chromium/WebViewChromiumFactoryProvider.java View 1 2 3 4 5 10 chunks +5 lines, -22 lines 0 comments Download
A android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java View 1 2 3 4 5 6 chunks +43 lines, -15 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/crash/MinidumpUploaderTest.java View 1 2 3 4 11 chunks +186 lines, -44 lines 0 comments Download
M android_webview/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
gsennton
This CL makes it a bit more tricky to componentize some of these classes I ...
3 years, 10 months ago (2017-01-27 15:57:36 UTC) #2
paulmiller
On 2017/01/27 15:57:36, gsennton wrote: > This CL makes it a bit more tricky to ...
3 years, 10 months ago (2017-01-27 18:26:24 UTC) #3
gsennton
On 2017/01/27 18:26:24, paulmiller wrote: > On 2017/01/27 15:57:36, gsennton wrote: > > This CL ...
3 years, 10 months ago (2017-01-30 10:27:20 UTC) #4
gsennton
On 2017/01/30 10:27:20, gsennton wrote: > On 2017/01/27 18:26:24, paulmiller wrote: > > On 2017/01/27 ...
3 years, 10 months ago (2017-01-30 10:32:02 UTC) #5
gsennton
Hey guys, ptal :) Regarding this clashing with the Chrome-componentization - I've added a way ...
3 years, 10 months ago (2017-02-01 17:40:48 UTC) #6
paulmiller
On 2017/02/01 17:40:48, gsennton wrote: > Hey guys, ptal :) > > Regarding this clashing ...
3 years, 10 months ago (2017-02-01 18:58:36 UTC) #7
paulmiller
https://codereview.chromium.org/2655023008/diff/20001/android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java File android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java (right): https://codereview.chromium.org/2655023008/diff/20001/android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java#newcode1 android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java:1: // Copyright 2017 The Chromium Authors. All rights reserved. ...
3 years, 10 months ago (2017-02-01 19:26:48 UTC) #8
gsennton
Alright, ptal again :) Adding Torne just for the use of volatile, to ensure I'm ...
3 years, 10 months ago (2017-02-02 14:29:43 UTC) #10
gsennton
On 2017/02/02 14:29:43, gsennton wrote: > Alright, ptal again :) > Adding Torne just for ...
3 years, 10 months ago (2017-02-02 14:30:13 UTC) #11
gsennton
Talked to Torne - we don't need to use volatile or any specific synchronization mechanism ...
3 years, 10 months ago (2017-02-02 15:35:02 UTC) #12
paulmiller
lgtm https://codereview.chromium.org/2655023008/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/crash/MinidumpUploaderTest.java File android_webview/javatests/src/org/chromium/android_webview/test/crash/MinidumpUploaderTest.java (right): https://codereview.chromium.org/2655023008/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/crash/MinidumpUploaderTest.java#newcode144 android_webview/javatests/src/org/chromium/android_webview/test/crash/MinidumpUploaderTest.java:144: // correctly? I think the assertOnUiThread you put ...
3 years, 10 months ago (2017-02-02 22:47:07 UTC) #13
gsennton
Thanks for the review Paul, I guess I need one from Selim as well :) ...
3 years, 10 months ago (2017-02-03 13:53:16 UTC) #14
sgurun-gerrit only
lgtm
3 years, 10 months ago (2017-02-07 03:27:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2655023008/80001
3 years, 10 months ago (2017-02-07 10:12:05 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/148619) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 10:14:06 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2655023008/100001
3 years, 10 months ago (2017-02-07 10:24:34 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 11:35:52 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/30d6e25b2f1c69090883e9711087...

Powered by Google App Engine
This is Rietveld 408576698