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

Issue 11661013: Tell java side when the native auth handler is gone (Closed)

Created:
8 years ago by joth
Modified:
7 years, 12 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

Tell java side when the native auth handler is gone This is to stop the app keeping and using a reference to the native class after it was deleted. Also fixed up the destructor chain threading, to delete the auth handler on the UI thread. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174633

Patch Set 1 #

Total comments: 3

Patch Set 2 : kristian's comments: fixed threading #

Patch Set 3 : compile fix #

Patch Set 4 : fix2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -12 lines) Patch
M android_webview/browser/aw_login_delegate.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_login_delegate.cc View 1 4 chunks +19 lines, -4 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwHttpAuthHandler.java View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M android_webview/native/aw_http_auth_handler.cc View 1 2 3 3 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
joth
8 years ago (2012-12-21 23:02:35 UTC) #1
Kristian Monsen
Can there be some threading issues, or are the java methods called from the same ...
8 years ago (2012-12-22 02:39:04 UTC) #2
joth
Good question on threading. should be fine, as these are all UI thread methods. https://codereview.chromium.org/11661013/diff/1/android_webview/java/src/org/chromium/android_webview/AwHttpAuthHandler.java ...
8 years ago (2012-12-22 02:55:16 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years ago (2012-12-22 02:55:32 UTC) #4
Kristian Monsen
lgtm I was wondering if the destructor will be on the UI thread as well. ...
8 years ago (2012-12-22 03:01:58 UTC) #5
boliu
committer lgtm cq uses HEAD so should not have apply_issue failures
8 years ago (2012-12-22 03:28:54 UTC) #6
joth
On 2012/12/22 03:01:58, kristianm1 wrote: > lgtm > > I was wondering if the destructor ...
8 years ago (2012-12-23 23:58:50 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/11661013/7002
7 years, 12 months ago (2012-12-26 18:34:38 UTC) #8
commit-bot: I haz the power
7 years, 12 months ago (2012-12-26 21:39:24 UTC) #9
Message was sent while issue was closed.
Change committed as 174633

Powered by Google App Engine
This is Rietveld 408576698