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

Issue 2725753002: [Cleanup] Add an explicit threading assertion. (Closed)

Created:
3 years, 9 months ago by Ilya Sherman
Modified:
3 years, 9 months ago
Reviewers:
Tobias Sargeant
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

[Cleanup] Add an explicit threading assertion. BUG=none TEST=none R=tobiasjs@chromium.org

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java View 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Ilya Sherman
3 years, 9 months ago (2017-02-28 23:55:58 UTC) #1
Tobias Sargeant
3 years, 9 months ago (2017-03-01 08:04:44 UTC) #2
https://codereview.chromium.org/2725753002/diff/1/android_webview/java/src/or...
File
android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java
(right):

https://codereview.chromium.org/2725753002/diff/1/android_webview/java/src/or...
android_webview/java/src/org/chromium/android_webview/crash/MinidumpUploaderImpl.java:136:
ThreadUtils.assertOnUiThread();
This looks ok, but it's not consistent with the comment (which mentions "this
thread" in a way that says that it might be called on multiple threads). If the
commandline data structure is constant after initialization, do we need restrict
it to a single thread?

Powered by Google App Engine
This is Rietveld 408576698