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

Issue 2553193002: Remove explicit singletonness of ArcBridgeService part 4. (Closed)

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

Description

Remove explicit singletonness of ArcBridgeService part 4. This CL gets rid of using ArcBridgeService::Get() in arc_robot_auto_code_fetcher_browsertest, by getting rid of depending of ArcAuthService. Test for AttemptUserExit is moved to arc_session_manager_unittest. For that purpose, fixed username_hash for ARC Kiosk fake user. BUG=657687 BUG=b/31079732 TEST=Ran bots. Committed: https://crrev.com/26b2f7b619d9a83b2151b47ad175ed9e1ecf3ccf Cr-Commit-Position: refs/heads/master@{#437811}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Address comments. #

Total comments: 5

Patch Set 4 : rebase #

Patch Set 5 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -60 lines) Patch
M chrome/browser/chromeos/arc/arc_session_manager.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager.cc View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/arc/arc_session_manager_unittest.cc View 1 2 3 4 6 chunks +60 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/arc/auth/arc_robot_auth_code_fetcher_browsertest.cc View 1 2 3 4 6 chunks +38 lines, -44 lines 0 comments Download
M chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (20 generated)
hidehiko
This is the last CL to prepare ArcBridgeService::Get(). PTAL. lhchavez@: c/b/c/arc OWNER. poromov@: ARC robot ...
4 years ago (2016-12-06 17:19:26 UTC) #4
Luis Héctor Chávez
IIUC you didn't need the previous 3 CLs to achieve this. But anyways it's a ...
4 years ago (2016-12-06 19:08:57 UTC) #7
achuithb
On 2016/12/06 17:19:26, hidehiko wrote: > This is the last CL to prepare ArcBridgeService::Get(). PTAL. ...
4 years ago (2016-12-06 19:30:36 UTC) #10
hidehiko
PTAL. Note that it turned out that the original robot's test had a flakiness issue. ...
4 years ago (2016-12-08 14:29:33 UTC) #17
Luis Héctor Chávez
lgtm with a couple of nits/requests. https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc File chrome/browser/chromeos/arc/arc_session_manager_unittest.cc (right): https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc#newcode514 chrome/browser/chromeos/arc/arc_session_manager_unittest.cc:514: // assuming the ...
4 years ago (2016-12-08 17:36:13 UTC) #20
hidehiko
Thank you for review. poromov@. Friendly, ping? https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc File chrome/browser/chromeos/arc/arc_session_manager_unittest.cc (right): https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc#newcode514 chrome/browser/chromeos/arc/arc_session_manager_unittest.cc:514: // assuming ...
4 years ago (2016-12-08 18:01:00 UTC) #21
Luis Héctor Chávez
https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc File chrome/browser/chromeos/arc/arc_session_manager_unittest.cc (right): https://codereview.chromium.org/2553193002/diff/40001/chrome/browser/chromeos/arc/arc_session_manager_unittest.cc#newcode514 chrome/browser/chromeos/arc/arc_session_manager_unittest.cc:514: // assuming the callback will never be called. On ...
4 years ago (2016-12-08 18:04:01 UTC) #22
Sergey Poromov
lgtm дпеь
4 years ago (2016-12-09 22:05:26 UTC) #23
Sergey Poromov
On 2016/12/09 22:05:26, Sergey Poromov wrote: > lgtm > > дпеь Sorry, it was "lgtm" ...
4 years ago (2016-12-09 22:06:43 UTC) #24
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/2553193002/80001
4 years ago (2016-12-12 01:28:03 UTC) #27
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-12 02:28:37 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-12 15:10:18 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/26b2f7b619d9a83b2151b47ad175ed9e1ecf3ccf
Cr-Commit-Position: refs/heads/master@{#437811}

Powered by Google App Engine
This is Rietveld 408576698