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

Issue 1847463002: arc: Use v2/auth LSO page. (Closed)

Created:
4 years, 8 months ago by khmel
Modified:
4 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Use v2/auth LSO page. This currently shows Android TV LSO page. BUG=598962 TEST=Manually tested on devices, Auth code is fetched from the new LSO page and Arc started. Simulated different error scenarios. Error page is shown and retry works as expected. TEST=unit_tests passes. Committed: https://crrev.com/25fcad1a0c1ce94fdc46431b32f4be6b27357ace Cr-Commit-Position: refs/heads/master@{#384932}

Patch Set 1 #

Total comments: 1

Patch Set 2 : remove arc_auth_fetcher #

Total comments: 21

Patch Set 3 : comments addressed #

Total comments: 12

Patch Set 4 : comments addressed #

Patch Set 5 : moved arc_support_host to c/b/chromeos/arc #

Patch Set 6 : added missing files #

Patch Set 7 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -476 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 3 7 chunks +7 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 10 chunks +14 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service_unittest.cc View 12 chunks +4 lines, -64 lines 0 comments Download
A + chrome/browser/chromeos/arc/arc_support_host.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/chromeos/arc/arc_support_host.cc View 1 2 3 4 5 6 chunks +20 lines, -10 lines 0 comments Download
D chrome/browser/extensions/api/messaging/arc_support_host.h View 1 2 3 4 1 chunk +0 lines, -44 lines 0 comments Download
M chrome/browser/extensions/api/messaging/arc_support_host.cc View 1 2 3 4 1 chunk +0 lines, -153 lines 0 comments Download
M chrome/browser/extensions/api/messaging/native_message_host_chromeos.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/chromeos/arc_support/background.js View 1 2 3 4 chunks +55 lines, -20 lines 0 comments Download
M chrome/browser/resources/chromeos/arc_support/main.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/arc.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
D components/arc/auth/DEPS View 1 1 chunk +0 lines, -3 lines 0 comments Download
D components/arc/auth/arc_auth_fetcher.h View 1 1 chunk +0 lines, -63 lines 0 comments Download
D components/arc/auth/arc_auth_fetcher.cc View 1 1 chunk +0 lines, -59 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
khmel
Hi Xiyuan, PTAL https://codereview.chromium.org/1847463002/diff/1/chrome/browser/resources/chromeos/arc_support/background.js File chrome/browser/resources/chromeos/arc_support/background.js (right): https://codereview.chromium.org/1847463002/diff/1/chrome/browser/resources/chromeos/arc_support/background.js#newcode193 chrome/browser/resources/chromeos/arc_support/background.js:193: var attemptCount = 10; This LSO ...
4 years, 8 months ago (2016-03-30 15:24:55 UTC) #2
xiyuan
https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js File chrome/browser/resources/chromeos/arc_support/background.js (right): https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js#newcode57 chrome/browser/resources/chromeos/arc_support/background.js:57: message = {'action': code}; nit: var, missed this in ...
4 years, 8 months ago (2016-03-30 17:22:16 UTC) #3
khmel
Hi Xiyuan, Thanks for comments, now code looks better. PTAL https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js File chrome/browser/resources/chromeos/arc_support/background.js (right): https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js#newcode57 ...
4 years, 8 months ago (2016-03-30 21:30:18 UTC) #4
xiyuan
lgtm https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js File chrome/browser/resources/chromeos/arc_support/background.js (right): https://codereview.chromium.org/1847463002/diff/20001/chrome/browser/resources/chromeos/arc_support/background.js#newcode234 chrome/browser/resources/chromeos/arc_support/background.js:234: webview.request.onResponseStarted.addListener( On 2016/03/30 21:30:18, khmel wrote: > On ...
4 years, 8 months ago (2016-03-30 21:32:42 UTC) #5
khmel
Hi, Luis, could you please take a look: components/arc/ Sergey, could you please take a ...
4 years, 8 months ago (2016-03-30 21:55:39 UTC) #7
Luis Héctor Chávez
Can you run trybots? It's only removals, so it looks reasonable, but I want to ...
4 years, 8 months ago (2016-03-30 23:57:25 UTC) #8
Sergey Ulanov
LGTM, but please see my comments. There is a bug ArcSupportHost::OnMessage() when converting Value to ...
4 years, 8 months ago (2016-03-31 17:24:24 UTC) #9
khmel
Thanks Sergey for review. PTAL https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc File chrome/browser/extensions/api/messaging/arc_support_host.cc (right): https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc#newcode5 chrome/browser/extensions/api/messaging/arc_support_host.cc:5: #include "chrome/browser/extensions/api/messaging/arc_support_host.h" On 2016/03/31 ...
4 years, 8 months ago (2016-03-31 18:02:31 UTC) #10
Sergey Ulanov
https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc File chrome/browser/extensions/api/messaging/arc_support_host.cc (right): https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc#newcode5 chrome/browser/extensions/api/messaging/arc_support_host.cc:5: #include "chrome/browser/extensions/api/messaging/arc_support_host.h" On 2016/03/31 18:02:31, khmel wrote: > On ...
4 years, 8 months ago (2016-03-31 18:47:54 UTC) #11
khmel
Moved arc_support_host to c/b/chromeos/arc PTAL https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc File chrome/browser/extensions/api/messaging/arc_support_host.cc (right): https://codereview.chromium.org/1847463002/diff/40001/chrome/browser/extensions/api/messaging/arc_support_host.cc#newcode5 chrome/browser/extensions/api/messaging/arc_support_host.cc:5: #include "chrome/browser/extensions/api/messaging/arc_support_host.h" On 2016/03/31 ...
4 years, 8 months ago (2016-03-31 19:33:33 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847463002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847463002/100001
4 years, 8 months ago (2016-03-31 19:38:00 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/11903) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-03-31 19:41:01 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847463002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847463002/120001
4 years, 8 months ago (2016-03-31 19:50:07 UTC) #18
Sergey Ulanov
lgtm
4 years, 8 months ago (2016-03-31 20:23:20 UTC) #19
Luis Héctor Chávez
components/arc lgtm
4 years, 8 months ago (2016-03-31 20:24:27 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-31 21:11:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1847463002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1847463002/120001
4 years, 8 months ago (2016-04-04 15:55:50 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-04 17:03:52 UTC) #26
commit-bot: I haz the power
4 years, 8 months ago (2016-04-04 17:05:02 UTC) #28
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/25fcad1a0c1ce94fdc46431b32f4be6b27357ace
Cr-Commit-Position: refs/heads/master@{#384932}

Powered by Google App Engine
This is Rietveld 408576698