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

Issue 2397863003: Move free disk space check to session_manager. (Closed)

Created:
4 years, 2 months ago by hidehiko
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hashimoto+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, Luis Héctor Chávez, stevenjb
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move free disk space check to session_manager. Now session_manager returns an error if the free disk space is low. Thus, this removes the current disk space checking in arc_bridge_bootstrap, instead, looking at the error code on StartArcInstance failure. BUG=628124, 633258 , b/30498714 TEST=Ran on test device. Ran trybots. Committed: https://crrev.com/14f70fe81402b55617e7f92839368b14c42eaf1f Cr-Commit-Position: refs/heads/master@{#423873}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments. #

Total comments: 2

Patch Set 3 : Address comment. #

Total comments: 8

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -79 lines) Patch
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 2 3 1 chunk +12 lines, -4 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 1 2 3 4 chunks +28 lines, -7 lines 0 comments Download
M components/arc/arc_bridge_bootstrap.cc View 1 2 3 11 chunks +22 lines, -62 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
hidehiko
Thank you for review in advance. nya@: all code, incl. ArcBridgeBootstrap. hashimoto@: chromeos/dbus derat@: chrome/browser/chromeos/settings ...
4 years, 2 months ago (2016-10-06 07:27:55 UTC) #4
hidehiko
Note: this CL needs https://chromium-review.googlesource.com/#/c/393628/ to be landed in advance. But it is already LGTM'ed ...
4 years, 2 months ago (2016-10-06 07:28:56 UTC) #5
hashimoto
https://codereview.chromium.org/2397863003/diff/1/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/2397863003/diff/1/chromeos/dbus/session_manager_client.cc#newcode738 chromeos/dbus/session_manager_client.cc:738: response ? response->GetErrorName() : base::EmptyString()); Please be consistent by ...
4 years, 2 months ago (2016-10-06 08:12:20 UTC) #8
Shuhei Takahashi
https://codereview.chromium.org/2397863003/diff/1/components/arc/arc_bridge_bootstrap.cc File components/arc/arc_bridge_bootstrap.cc (right): https://codereview.chromium.org/2397863003/diff/1/components/arc/arc_bridge_bootstrap.cc#newcode118 components/arc/arc_bridge_bootstrap.cc:118: // CHECKING_DISK_SPACE Please update these comments to remove CHECKING_DISK_SPACE. ...
4 years, 2 months ago (2016-10-06 08:21:03 UTC) #9
hidehiko
Thank you for quick review. PTAL. https://codereview.chromium.org/2397863003/diff/1/chromeos/dbus/session_manager_client.cc File chromeos/dbus/session_manager_client.cc (right): https://codereview.chromium.org/2397863003/diff/1/chromeos/dbus/session_manager_client.cc#newcode738 chromeos/dbus/session_manager_client.cc:738: response ? response->GetErrorName() ...
4 years, 2 months ago (2016-10-06 08:33:21 UTC) #11
hashimoto
chromeos/dbus lgtm https://codereview.chromium.org/2397863003/diff/20001/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2397863003/diff/20001/chromeos/dbus/session_manager_client.h#newcode241 chromeos/dbus/session_manager_client.h:241: typedef base::Callback<void(bool is_succeeded, const std::string& error)> nit: ...
4 years, 2 months ago (2016-10-06 08:36:59 UTC) #13
hidehiko
https://codereview.chromium.org/2397863003/diff/20001/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2397863003/diff/20001/chromeos/dbus/session_manager_client.h#newcode241 chromeos/dbus/session_manager_client.h:241: typedef base::Callback<void(bool is_succeeded, const std::string& error)> On 2016/10/06 08:36:59, ...
4 years, 2 months ago (2016-10-06 08:40:22 UTC) #14
Shuhei Takahashi
lgtm Thanks!
4 years, 2 months ago (2016-10-06 08:42:54 UTC) #15
Daniel Erat
+stevenjb, who is out (i.e. don't wait for his review) but may have opinions when ...
4 years, 2 months ago (2016-10-06 14:53:54 UTC) #16
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/2397863003/diff/40001/chromeos/dbus/session_manager_client.h File chromeos/dbus/session_manager_client.h (right): https://codereview.chromium.org/2397863003/diff/40001/chromeos/dbus/session_manager_client.h#newcode236 chromeos/dbus/session_manager_client.h:236: // manager can not ...
4 years, 2 months ago (2016-10-07 05:28:38 UTC) #21
Daniel Erat
lgtm thanks!
4 years, 2 months ago (2016-10-07 14:26:10 UTC) #25
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/2397863003/60001
4 years, 2 months ago (2016-10-07 16:08:55 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-07 16:14:13 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 16:15:42 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/14f70fe81402b55617e7f92839368b14c42eaf1f
Cr-Commit-Position: refs/heads/master@{#423873}

Powered by Google App Engine
This is Rietveld 408576698