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

Issue 10817007: Remove chromeos::CryptohomeLibrary::IsMounted and convert (Closed)

Created:
8 years, 5 months ago by hashimoto
Modified:
8 years, 4 months ago
CC:
chromium-reviews, rginda+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove chromeos::CryptohomeLibrary::IsMounted CryptohomeClient::IsMounted is converted to asynchronous and used instead. Mock's default action for IsMounted is set in the ctor of MockCryptohomeClient. BUG=126674 TEST=git try -b linux_chromeos Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148883

Patch Set 1 : _ #

Total comments: 3

Patch Set 2 : LOG(ERROR) instead of CHECK #

Patch Set 3 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -59 lines) Patch
M chrome/browser/chromeos/cros/cryptohome_library.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/cryptohome_library.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/cros/mock_cryptohome_library.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller_browsertest.cc View 5 chunks +2 lines, -10 lines 2 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/cryptohome_web_ui_handler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chromeos/dbus/cryptohome_client.h View 1 chunk +1 line, -2 lines 0 comments Download
M chromeos/dbus/cryptohome_client.cc View 5 chunks +18 lines, -21 lines 0 comments Download
M chromeos/dbus/mock_cryptohome_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/mock_cryptohome_client.cc View 1 chunk +20 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
hashimoto
Steven, Could you review this change? David, Could you review profile_manager.cc?
8 years, 5 months ago (2012-07-23 10:58:50 UTC) #1
stevenjb
http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc#newcode169 chrome/browser/profiles/profile_manager.cc:169: CHECK(call_status == chromeos::DBUS_METHOD_CALL_SUCCESS && is_mounted); This shouldn't be a ...
8 years, 5 months ago (2012-07-23 17:42:50 UTC) #2
hashimoto
http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc#newcode169 chrome/browser/profiles/profile_manager.cc:169: CHECK(call_status == chromeos::DBUS_METHOD_CALL_SUCCESS && is_mounted); On 2012/07/23 17:42:50, stevenjb ...
8 years, 5 months ago (2012-07-24 01:02:58 UTC) #3
stevenjb
lgtm http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/10817007/diff/2001/chrome/browser/profiles/profile_manager.cc#newcode169 chrome/browser/profiles/profile_manager.cc:169: CHECK(call_status == chromeos::DBUS_METHOD_CALL_SUCCESS && is_mounted); On 2012/07/24 01:02:58, ...
8 years, 5 months ago (2012-07-24 16:46:36 UTC) #4
hashimoto
David, could you review this change as a browser/profiles owner? Evan, could you review this ...
8 years, 5 months ago (2012-07-25 11:50:49 UTC) #5
hashimoto
Sending for the correct address Evan, could you take a look?
8 years, 5 months ago (2012-07-26 01:43:21 UTC) #6
Evan Stade
webui lgtm
8 years, 5 months ago (2012-07-26 04:04:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10817007/9001
8 years, 5 months ago (2012-07-26 05:06:13 UTC) #8
commit-bot: I haz the power
Presubmit check for 10817007-9001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-26 05:06:20 UTC) #9
hashimoto
Nikita, could you review chrome/browser/login changes as an owner?
8 years, 5 months ago (2012-07-26 05:20:00 UTC) #10
DaveMoore
LGTM Is it possible now to add the check that it's mounted as the proper ...
8 years, 4 months ago (2012-07-27 14:19:39 UTC) #11
hashimoto
On 2012/07/27 14:19:39, DaveMoore wrote: > LGTM > > Is it possible now to add ...
8 years, 4 months ago (2012-07-27 14:38:29 UTC) #12
Nikita (slow)
lgtm with one comment http://codereview.chromium.org/10817007/diff/9001/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc File chrome/browser/chromeos/login/existing_user_controller_browsertest.cc (left): http://codereview.chromium.org/10817007/diff/9001/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc#oldcode131 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc:131: EXPECT_CALL(*mock_cryptohome_library_, IsMounted()) How do we ...
8 years, 4 months ago (2012-07-27 22:06:46 UTC) #13
hashimoto
http://codereview.chromium.org/10817007/diff/9001/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc File chrome/browser/chromeos/login/existing_user_controller_browsertest.cc (left): http://codereview.chromium.org/10817007/diff/9001/chrome/browser/chromeos/login/existing_user_controller_browsertest.cc#oldcode131 chrome/browser/chromeos/login/existing_user_controller_browsertest.cc:131: EXPECT_CALL(*mock_cryptohome_library_, IsMounted()) On 2012/07/27 22:06:46, Nikita Kostylev wrote: > ...
8 years, 4 months ago (2012-07-28 02:56:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10817007/9001
8 years, 4 months ago (2012-07-28 02:56:49 UTC) #15
commit-bot: I haz the power
8 years, 4 months ago (2012-07-28 04:14:59 UTC) #16
Change committed as 148883

Powered by Google App Engine
This is Rietveld 408576698