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

Issue 2342233004: Change WebAuthFlow to use the new WebContentsObserver navigation notifications. (Closed)

Created:
4 years, 3 months ago by yzshen1
Modified:
4 years, 3 months ago
Reviewers:
clamy, Michael Courage
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change WebAuthFlow to use the new WebContentsObserver navigation notifications. This fixes the following browser tests for PlzNavigate: LaunchWebAuthFlowFunctionTest.InteractiveFirstNavigationSuccess LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess BUG=638593 Committed: https://crrev.com/7e5f997391d09180d98f1d91cb1056f549341e15 Cr-Commit-Position: refs/heads/master@{#420415}

Patch Set 1 #

Total comments: 8

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -42 lines) Patch
M chrome/browser/extensions/api/identity/web_auth_flow.h View 1 chunk +4 lines, -13 lines 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.cc View 1 6 chunks +29 lines, -29 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
yzshen1
Hi, Camille and Michael. Would you please take a look? Thanks! https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): ...
4 years, 3 months ago (2016-09-16 22:32:44 UTC) #4
clamy
Thanks! The conversion looks good, but it seems there are issues with the initial code ...
4 years, 3 months ago (2016-09-19 10:02:54 UTC) #7
yzshen1
Thanks, Camille! https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode200 chrome/browser/extensions/api/identity/web_auth_flow.cc:200: BeforeUrlLoaded(navigation_handle->GetURL()); On 2016/09/19 10:02:54, clamy wrote: > ...
4 years, 3 months ago (2016-09-19 15:32:56 UTC) #8
Michael Courage
https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode200 chrome/browser/extensions/api/identity/web_auth_flow.cc:200: BeforeUrlLoaded(navigation_handle->GetURL()); On 2016/09/19 15:32:56, yzshen1 wrote: > On 2016/09/19 ...
4 years, 3 months ago (2016-09-19 19:11:43 UTC) #9
yzshen1
On 2016/09/19 19:11:43, Michael Courage wrote: > https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc > File chrome/browser/extensions/api/identity/web_auth_flow.cc (right): > > https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#newcode200 ...
4 years, 3 months ago (2016-09-21 21:57:47 UTC) #10
clamy
I would think it's ok as it is, since the change shouldn't modify the behavior ...
4 years, 3 months ago (2016-09-22 09:44:42 UTC) #11
Michael Courage
lgtm https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (left): https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#oldcode195 chrome/browser/extensions/api/identity/web_auth_flow.cc:195: TRACE_EVENT_ASYNC_STEP_PAST1("identity", would be nice to keep the error ...
4 years, 3 months ago (2016-09-22 16:25:36 UTC) #12
yzshen1
Thanks! https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc File chrome/browser/extensions/api/identity/web_auth_flow.cc (left): https://codereview.chromium.org/2342233004/diff/1/chrome/browser/extensions/api/identity/web_auth_flow.cc#oldcode195 chrome/browser/extensions/api/identity/web_auth_flow.cc:195: TRACE_EVENT_ASYNC_STEP_PAST1("identity", On 2016/09/22 16:25:36, Michael Courage wrote: > ...
4 years, 3 months ago (2016-09-22 18:07:52 UTC) #13
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/2342233004/20001
4 years, 3 months ago (2016-09-22 18:08:46 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-22 19:06:00 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 19:09:24 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7e5f997391d09180d98f1d91cb1056f549341e15
Cr-Commit-Position: refs/heads/master@{#420415}

Powered by Google App Engine
This is Rietveld 408576698