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

Issue 1553613002: Add ArcAuthService to handle IPC request from ARC (Closed)

Created:
4 years, 11 months ago by victorhsieh0
Modified:
4 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), davemoore+watch_chromium.org, oshima+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ArcAuthService to handle IPC request from ARC This change currently returns a dummy string to ARC. Corresponding changes: ag/839326, ag/839593 R=lhchavez, dcheng, achuith BUG=crbug.com/571146 Committed: https://crrev.com/c47a0c11559c83187cd357e6349fa71d8ed80316 Cr-Commit-Position: refs/heads/master@{#368092}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : address review comments #

Patch Set 4 : move to chrome/ #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : dummy auth code #

Total comments: 15

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Patch Set 9 : rebase #

Total comments: 6

Patch Set 10 : reorder member variables init #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -4 lines) Patch
A chrome/browser/chromeos/arc/arc_auth_service_impl.h View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/arc/arc_auth_service_impl.cc View 1 2 3 4 5 6 7 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc.gypi View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 3 4 5 6 7 8 8 chunks +11 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_service.cc View 1 2 3 4 5 6 7 8 2 chunks +25 lines, -0 lines 0 comments Download
M components/arc/arc_service_manager.h View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M components/arc/arc_service_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -3 lines 0 comments Download
A components/arc/auth/arc_auth_service.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M components/arc/common/arc_bridge.mojom View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A components/arc/common/auth.mojom View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (19 generated)
victorhsieh
PTAL lhchavez, please do the overall review nasko, please review the new mojom achuith, please ...
4 years, 11 months ago (2015-12-29 23:54:04 UTC) #4
Luis Héctor Chávez
https://codereview.chromium.org/1553613002/diff/20001/components/arc.gypi File components/arc.gypi (right): https://codereview.chromium.org/1553613002/diff/20001/components/arc.gypi#newcode25 components/arc.gypi:25: 'arc/arc_auth_service.h', Can these be in arc/auth? Also, you need ...
4 years, 11 months ago (2015-12-30 00:02:37 UTC) #6
victorhsieh
https://codereview.chromium.org/1553613002/diff/20001/components/arc.gypi File components/arc.gypi (right): https://codereview.chromium.org/1553613002/diff/20001/components/arc.gypi#newcode25 components/arc.gypi:25: 'arc/arc_auth_service.h', On 2015/12/30 00:02:37, Luis Héctor Chávez wrote: > ...
4 years, 11 months ago (2015-12-30 00:32:34 UTC) #7
lhc(google)
https://codereview.chromium.org/1553613002/diff/20001/components/arc/arc_auth_service.cc File components/arc/arc_auth_service.cc (right): https://codereview.chromium.org/1553613002/diff/20001/components/arc/arc_auth_service.cc#newcode18 components/arc/arc_auth_service.cc:18: void ArcAuthService::StartObservingBridgeServiceChanges() { On 2015/12/30 00:32:34, victorhsieh wrote: > ...
4 years, 11 months ago (2015-12-30 01:06:48 UTC) #9
victorhsieh
https://codereview.chromium.org/1553613002/diff/20001/components/arc/arc_auth_service.cc File components/arc/arc_auth_service.cc (right): https://codereview.chromium.org/1553613002/diff/20001/components/arc/arc_auth_service.cc#newcode18 components/arc/arc_auth_service.cc:18: void ArcAuthService::StartObservingBridgeServiceChanges() { Since we need to get a ...
4 years, 11 months ago (2016-01-04 21:20:02 UTC) #12
victorhsieh
PTAL Luis, PTAL at the ag/ changes. Thanks!
4 years, 11 months ago (2016-01-04 21:20:38 UTC) #13
Luis Héctor Chávez
There are some gn changes needed to be synchronized with chrome/chrome_browser_chromeos.gypi. Mind running gn gen ...
4 years, 11 months ago (2016-01-04 21:26:21 UTC) #14
victorhsieh
gn gen now passed. https://codereview.chromium.org/1553613002/diff/60001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc File chrome/browser/chromeos/arc/arc_auth_service_impl.cc (right): https://codereview.chromium.org/1553613002/diff/60001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc#newcode30 chrome/browser/chromeos/arc/arc_auth_service_impl.cc:30: bridge_service->auth_instance()->Init(std::move(host)); On 2016/01/04 21:26:21, Luis ...
4 years, 11 months ago (2016-01-04 21:31:28 UTC) #15
Luis Héctor Chávez
lgtm
4 years, 11 months ago (2016-01-04 21:47:03 UTC) #16
achuithb
https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc File chrome/browser/chromeos/arc/arc_auth_service_impl.cc (right): https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc#newcode16 chrome/browser/chromeos/arc/arc_auth_service_impl.cc:16: DCHECK(bridge_service); You don't need this DCHECK, the line below ...
4 years, 11 months ago (2016-01-04 23:41:59 UTC) #18
victorhsieh
PTAL https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc File chrome/browser/chromeos/arc/arc_auth_service_impl.cc (right): https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.cc#newcode16 chrome/browser/chromeos/arc/arc_auth_service_impl.cc:16: DCHECK(bridge_service); On 2016/01/04 23:41:59, achuithb wrote: > You ...
4 years, 11 months ago (2016-01-05 00:39:14 UTC) #19
achuithb
lgtm, please get rid of virtual keyword for ~ArcAuthServiceImpl https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.h File chrome/browser/chromeos/arc/arc_auth_service_impl.h (right): https://codereview.chromium.org/1553613002/diff/100001/chrome/browser/chromeos/arc/arc_auth_service_impl.h#newcode23 chrome/browser/chromeos/arc/arc_auth_service_impl.h:23: ...
4 years, 11 months ago (2016-01-05 01:24:54 UTC) #20
nasko
The change looks good overall, but I'm lacking context on how ARC is designed. I ...
4 years, 11 months ago (2016-01-05 17:26:47 UTC) #21
Luis Héctor Chávez
FWIW dcheng has been doing most of the other reviews for ARC. https://codereview.chromium.org/1553613002/diff/120001/components/arc/common/arc_bridge.mojom File components/arc/common/arc_bridge.mojom ...
4 years, 11 months ago (2016-01-05 18:13:04 UTC) #22
victorhsieh
dcheng, PTAL at the mojom change. I also ran `git cl lint/format`. https://codereview.chromium.org/1553613002/diff/120001/chrome/browser/chromeos/arc/arc_auth_service_impl.h File chrome/browser/chromeos/arc/arc_auth_service_impl.h ...
4 years, 11 months ago (2016-01-05 18:49:26 UTC) #24
Luis Héctor Chávez
Mind rebasing to ToT and make changes similar to https://codereview.chromium.org/1548833002/ and https://codereview.chromium.org/1551763002/ ?
4 years, 11 months ago (2016-01-05 20:15:05 UTC) #25
victorhsieh
rebased.
4 years, 11 months ago (2016-01-05 20:45:01 UTC) #27
dcheng
https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc File components/arc/arc_service_manager.cc (right): https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc#newcode30 components/arc/arc_service_manager.cc:30: arc_auth_service_(std::move(auth_service)), Why not just instantiate it directly in here? ...
4 years, 11 months ago (2016-01-06 23:39:13 UTC) #28
victorhsieh
Thanks! https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc File components/arc/arc_service_manager.cc (right): https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc#newcode30 components/arc/arc_service_manager.cc:30: arc_auth_service_(std::move(auth_service)), On 2016/01/06 23:39:13, dcheng wrote: > Why ...
4 years, 11 months ago (2016-01-06 23:52:33 UTC) #29
dcheng
lgtm https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc File components/arc/arc_service_manager.cc (right): https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc#newcode30 components/arc/arc_service_manager.cc:30: arc_auth_service_(std::move(auth_service)), On 2016/01/06 at 23:52:33, victorhsieh wrote: > ...
4 years, 11 months ago (2016-01-07 00:02:33 UTC) #30
victorhsieh
https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc File components/arc/arc_service_manager.cc (right): https://codereview.chromium.org/1553613002/diff/160001/components/arc/arc_service_manager.cc#newcode30 components/arc/arc_service_manager.cc:30: arc_auth_service_(std::move(auth_service)), On 2016/01/07 00:02:33, dcheng wrote: > On 2016/01/06 ...
4 years, 11 months ago (2016-01-07 00:05:53 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1553613002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553613002/180001
4 years, 11 months ago (2016-01-07 00:07:15 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/133153)
4 years, 11 months ago (2016-01-07 00:17:23 UTC) #36
victorhsieh
Elijah, PTAL
4 years, 11 months ago (2016-01-07 00:20:40 UTC) #38
elijahtaylor1
lgtm
4 years, 11 months ago (2016-01-07 02:51:58 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1553613002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553613002/200001
4 years, 11 months ago (2016-01-07 15:36:01 UTC) #42
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 11 months ago (2016-01-07 16:57:58 UTC) #44
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 16:58:52 UTC) #46
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/c47a0c11559c83187cd357e6349fa71d8ed80316
Cr-Commit-Position: refs/heads/master@{#368092}

Powered by Google App Engine
This is Rietveld 408576698