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

Issue 10626002: Reland "Remove chromeos::LibraryLoader" (Closed)

Created:
8 years, 6 months ago by hashimoto
Modified:
8 years, 6 months ago
Reviewers:
stevenjb, satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org, Greg Spencer (Chromium)
Visibility:
Public.

Description

Reland "Remove chromeos::LibraryLoader" CrosLibrary::libcros_loaded()/load_error_string() will be removed later when there is no user for them --stub-cros command line option is removed since our code uses stub CrosLibrary whenever libcros loading fails Originally reviewed at: https://chromiumcodereview.appspot.com/10574040/ Reverted in: http://crrev.com/143365 BUG=127051 TEST=git try -b linux_chromeos,cros_x86 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143526

Patch Set 1 #

Patch Set 2 : Remove stub hack #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : Fix copyright #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -279 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/cert_library.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.h View 1 2 3 6 chunks +7 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.cc View 1 2 3 4 chunks +4 lines, -57 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_mock.cc View 5 chunks +1 line, -17 lines 0 comments Download
D chrome/browser/chromeos/cros/library_loader.h View 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/browser/chromeos/cros/library_loader.cc View 1 chunk +0 lines, -69 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_library_loader.h View 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_library_loader.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/online_attempt_unittest.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator_unittest.cc View 4 chunks +0 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/signed_settings_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
chrome/common/chrome_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
hashimoto
https://chromiumcodereview.appspot.com/10626002/diff/2001/chrome/browser/chromeos/cros/cert_library.cc File chrome/browser/chromeos/cros/cert_library.cc (left): https://chromiumcodereview.appspot.com/10626002/diff/2001/chrome/browser/chromeos/cros/cert_library.cc#oldcode157 chrome/browser/chromeos/cros/cert_library.cc:157: CommandLine::ForCurrentProcess()->HasSwitch(switches::kStubCros)) { Steven, loading Opencryptoki on Linux resulted in ...
8 years, 6 months ago (2012-06-21 15:37:20 UTC) #1
hashimoto
Steven, loading Opencryptoki on Linux resulted in build bot failure. (http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%2...) Can we remove the ...
8 years, 6 months ago (2012-06-21 15:38:17 UTC) #2
satorux1
LGTM. I think it's safe to remove the code path. IIRC, opencryptoki was replaced with ...
8 years, 6 months ago (2012-06-21 15:43:00 UTC) #3
stevenjb
lgtm https://chromiumcodereview.appspot.com/10626002/diff/2001/chrome/browser/chromeos/cros/cert_library.cc File chrome/browser/chromeos/cros/cert_library.cc (left): https://chromiumcodereview.appspot.com/10626002/diff/2001/chrome/browser/chromeos/cros/cert_library.cc#oldcode157 chrome/browser/chromeos/cros/cert_library.cc:157: CommandLine::ForCurrentProcess()->HasSwitch(switches::kStubCros)) { On 2012/06/21 15:37:20, hashimoto wrote: > ...
8 years, 6 months ago (2012-06-21 16:29:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10626002/2001
8 years, 6 months ago (2012-06-22 02:30:12 UTC) #5
commit-bot: I haz the power
Try job failure for 10626002-2001 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 6 months ago (2012-06-22 03:22:08 UTC) #6
Darren Krahn
On 2012/06/21 15:43:00, satorux1 wrote: > LGTM. > > I think it's safe to remove ...
8 years, 6 months ago (2012-06-22 03:58:40 UTC) #7
hashimoto
8 years, 6 months ago (2012-06-22 06:03:37 UTC) #8
On 2012/06/22 03:58:40, dkrahn wrote:
> On 2012/06/21 15:43:00, satorux1 wrote:
> > LGTM.
> > 
> > I think it's safe to remove the code path. IIRC, opencryptoki was replaced
> with
> > Chaps. adding gspencer@ and dkrahn@ who'd know the status.
> 
> FWIW, opencryptoki has been removed as of R21.

I see "--load-opencryptoki" option in /sbin/session_manager_setup.sh.
AFAIK CertLibrary::user_logged_in_ never gets true without "--load-opencryptoki"
and EncryptToken/DecryptToken does not work. Was opencryptoki really removed?

Powered by Google App Engine
This is Rietveld 408576698