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

Issue 2475073003: Refactor ArcSupportHost and ArcAuthService part 1. (Closed)

Created:
4 years, 1 month ago by hidehiko
Modified:
4 years, 1 month ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, khmel+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, khmel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor ArcSupportHost and ArcAuthService part 1. This CL contains three simple refactoring: - Move UIPage from ArcAuthService to ArcSupportHost. - Move logic in ArcSupportHost::OnMessage to ArcAuthService. For this purpose, Observer is introduced. - Move ArcOptInPreferenceHandler from ArcSupportHost to ArcAuthService. Moved code will be extracted again, when ArcSessionManager is introduced. BUG=657687 BUG=b/31079732 TEST=Ran on test device. Ran bots. Committed: https://crrev.com/e929bc07aa6ce653f7df89f425f01f307839e89c Cr-Commit-Position: refs/heads/master@{#430497}

Patch Set 1 #

Total comments: 8

Patch Set 2 : rebase #

Patch Set 3 : fix trybot error #

Patch Set 4 : Address comments. #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -127 lines) Patch
M chrome/browser/chromeos/arc/arc_auth_service.h View 1 2 3 4 9 chunks +26 lines, -17 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_auth_service.cc View 1 2 3 4 16 chunks +80 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.h View 1 2 3 4 chunks +61 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_support_host.cc View 1 2 3 4 11 chunks +65 lines, -67 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
hidehiko
PTAL: Luis. FYI: Yury.
4 years, 1 month ago (2016-11-04 03:23:27 UTC) #3
hidehiko
On 2016/11/04 03:23:27, hidehiko wrote: > PTAL: Luis. FYI: Yury. Oops, test error is real ...
4 years, 1 month ago (2016-11-04 17:51:18 UTC) #7
Luis Héctor Chávez
lgtm with nits https://codereview.chromium.org/2475073003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2475073003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode798 chrome/browser/chromeos/arc/arc_auth_service.cc:798: ui_page_ != ArcSupportHost::UIPage::ERROR_WITH_FEEDBACK) nit: un-elide braces ...
4 years, 1 month ago (2016-11-04 17:55:15 UTC) #8
hidehiko
Thank you for review! https://codereview.chromium.org/2475073003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc File chrome/browser/chromeos/arc/arc_auth_service.cc (right): https://codereview.chromium.org/2475073003/diff/1/chrome/browser/chromeos/arc/arc_auth_service.cc#newcode798 chrome/browser/chromeos/arc/arc_auth_service.cc:798: ui_page_ != ArcSupportHost::UIPage::ERROR_WITH_FEEDBACK) On 2016/11/04 ...
4 years, 1 month ago (2016-11-04 22:19:51 UTC) #11
Luis Héctor Chávez
lgtm++
4 years, 1 month ago (2016-11-04 22:24:03 UTC) #12
hidehiko
Re-titled the CL based on offline chat with Luis. Submitting.
4 years, 1 month ago (2016-11-08 02:41:14 UTC) #16
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/2475073003/70001
4 years, 1 month ago (2016-11-08 02:41:42 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 1 month ago (2016-11-08 03:13:56 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 03:27:44 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e929bc07aa6ce653f7df89f425f01f307839e89c
Cr-Commit-Position: refs/heads/master@{#430497}

Powered by Google App Engine
This is Rietveld 408576698