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

Issue 2574013003: Refactor ArcSessionRunner part 1. (Closed)

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

Description

Refactor ArcSessionRunner part 1. This CL renames ArcBridgeServiceImpl to ArcSessionRunner, and had as a preparation to get rid of inheritance. Along with the change, FakeArcBridgeService is removed and replaced by ArcSessionRunner + FakeArcSession factory. TBR=bartfab@chromium.org BUG=657687 BUG=b/31079732 TEST=Ran bots. Committed: https://crrev.com/359b352bc1b60c0de02e27d2373078d17a5473a2 Cr-Commit-Position: refs/heads/master@{#440019}

Patch Set 1 #

Patch Set 2 : BUILD.gn fix #

Patch Set 3 : rebase #

Patch Set 4 : rebase to the split CL #

Total comments: 6

Patch Set 5 : rebase #

Patch Set 6 : Address comments. #

Total comments: 8

Patch Set 7 : rebase #

Patch Set 8 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -696 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager_browsertest.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_arc_package_helper.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_context_menu_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_test.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_ash_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_views_unittest.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 5 chunks +13 lines, -12 lines 0 comments Download
M components/arc/arc_bridge_service.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
D components/arc/arc_bridge_service_impl.h View 1 2 3 4 1 chunk +0 lines, -91 lines 0 comments Download
D components/arc/arc_bridge_service_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -188 lines 0 comments Download
D components/arc/arc_bridge_service_unittest.cc View 1 2 3 4 1 chunk +0 lines, -237 lines 0 comments Download
M components/arc/arc_service_manager.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -4 lines 0 comments Download
M components/arc/arc_service_manager.cc View 1 2 3 4 5 4 chunks +15 lines, -17 lines 0 comments Download
A + components/arc/arc_session_runner.h View 1 2 3 4 5 4 chunks +15 lines, -18 lines 0 comments Download
A + components/arc/arc_session_runner.cc View 1 2 3 4 5 6 9 chunks +16 lines, -24 lines 0 comments Download
A components/arc/arc_session_runner_unittest.cc View 1 2 3 4 5 6 7 1 chunk +245 lines, -0 lines 0 comments Download
M components/arc/ime/arc_ime_service_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D components/arc/test/fake_arc_bridge_service.h View 1 chunk +0 lines, -35 lines 0 comments Download
D components/arc/test/fake_arc_bridge_service.cc View 1 2 3 1 chunk +0 lines, -37 lines 0 comments Download
M ui/arc/notification/arc_notification_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (23 generated)
hidehiko
PTAL. Luis, if you prefer a number of relatively smaller CLs, please let me know. ...
4 years ago (2016-12-14 20:01:07 UTC) #11
benwells
c/b/ui/views/apps lgtm
4 years ago (2016-12-15 05:51:35 UTC) #14
yoshiki
ui/arc lgtm
4 years ago (2016-12-15 09:34:23 UTC) #15
maxbogue
c/b/sync/ lgtm
4 years ago (2016-12-15 15:42:01 UTC) #16
xiyuan
c/b/ui/app_list lgtm
4 years ago (2016-12-15 17:44:50 UTC) #17
hidehiko
Thank you for review. Luis, according to the time stamp, I believe you haven't yet ...
4 years ago (2016-12-16 12:20:41 UTC) #22
Luis Héctor Chávez
Yes, thank you very much for splitting the CLs :D Just confirming: the commit message ...
4 years ago (2016-12-16 23:31:01 UTC) #23
hidehiko
Thank you for review. Luis, you're right about the splitting, and sorry I overlooked to ...
4 years ago (2016-12-19 08:27:04 UTC) #25
Luis Héctor Chávez
lgtm with some minor nits. btw if you want to land this while the tree ...
4 years ago (2016-12-19 22:21:38 UTC) #26
hidehiko
Thank you for review. Submitting with TBR=bartfab, actually this case meets the condition described in ...
4 years ago (2016-12-21 03:40:37 UTC) #28
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/2574013003/160001
4 years ago (2016-12-21 03:41:05 UTC) #31
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years ago (2016-12-21 04:50:06 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-21 04:52:17 UTC) #36
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/359b352bc1b60c0de02e27d2373078d17a5473a2
Cr-Commit-Position: refs/heads/master@{#440019}

Powered by Google App Engine
This is Rietveld 408576698