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

Issue 516243002: Instantiation of OwnerKeyUtil is delegated to OwnerSettingsServiceFactory. (Closed)

Created:
6 years, 3 months ago by ygorshenin1
Modified:
6 years, 3 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Instantiation of OwnerKeyUtil is delegated to OwnerSettingsServiceFactory, as we're going to move as much as possible from OwnerSettingsService to components/ownership/* and because OwnerSettingsServiceFactory should do all platform-specific business. BUG=398856 TEST=existing browser_tests and unit_tests Committed: https://crrev.com/a3e9d8b6ec39cb3fe8f075fe509ff29c3d3a2abb Cr-Commit-Position: refs/heads/master@{#293486}

Patch Set 1 #

Patch Set 2 : Restored SetOwnerKeyUtilForTesting(). #

Patch Set 3 : BUILD.gn is fixed + style fixes. #

Total comments: 8

Patch Set 4 : Fixes. #

Patch Set 5 : Fixes. #

Total comments: 2

Patch Set 6 : Fixes. #

Patch Set 7 : Removed empty ownership_test_support target. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -92 lines) Patch
M chrome/browser/chromeos/app_mode/kiosk_app_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/auth/chrome_cryptohome_authenticator.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/auth/cryptohome_authenticator_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service.h View 1 2 3 2 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service.cc View 1 2 3 7 chunks +7 lines, -38 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_factory.h View 1 2 3 4 5 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_factory.cc View 1 2 3 4 5 2 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/settings/session_manager_operation_unittest.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M components/ownership.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -15 lines 0 comments Download
M components/ownership/BUILD.gn View 1 2 3 4 5 6 2 chunks +2 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
ygorshenin1
+ Dmitry for chrome/browser/chromeos/* + Erik for components/*
6 years, 3 months ago (2014-09-02 11:32:31 UTC) #2
Dmitry Polukhin
lgtm
6 years, 3 months ago (2014-09-02 13:55:37 UTC) #3
erikwright (departed)
https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode58 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:58: #include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h" I think technically, Include What You Use ...
6 years, 3 months ago (2014-09-02 19:13:56 UTC) #4
ygorshenin1
PTAL https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode58 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:58: #include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h" But I'm not using OwnerSettingsService class ...
6 years, 3 months ago (2014-09-03 10:14:58 UTC) #5
erikwright (departed)
LGTM. https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc File chrome/browser/chromeos/chrome_browser_main_chromeos.cc (right): https://codereview.chromium.org/516243002/diff/40001/chrome/browser/chromeos/chrome_browser_main_chromeos.cc#newcode58 chrome/browser/chromeos/chrome_browser_main_chromeos.cc:58: #include "chrome/browser/chromeos/ownership/owner_settings_service_factory.h" On 2014/09/03 10:14:58, ygorshenin1 wrote: > ...
6 years, 3 months ago (2014-09-03 14:07:17 UTC) #6
ygorshenin1
Many thanks! https://codereview.chromium.org/516243002/diff/80001/chrome/browser/chromeos/ownership/owner_settings_service_factory.h File chrome/browser/chromeos/ownership/owner_settings_service_factory.h (right): https://codereview.chromium.org/516243002/diff/80001/chrome/browser/chromeos/ownership/owner_settings_service_factory.h#newcode15 chrome/browser/chromeos/ownership/owner_settings_service_factory.h:15: #include "components/ownership/owner_key_util.h" On 2014/09/03 14:07:16, erikwright wrote: ...
6 years, 3 months ago (2014-09-04 07:35:53 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/516243002/100001
6 years, 3 months ago (2014-09-04 07:36:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/12209)
6 years, 3 months ago (2014-09-04 08:19:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/516243002/120001
6 years, 3 months ago (2014-09-04 14:25:49 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu_retina_triggered_tests/builds/43605)
6 years, 3 months ago (2014-09-04 15:28:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/516243002/120001
6 years, 3 months ago (2014-09-05 07:21:01 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 8ca00474720174ce983209a9a1c9ab303ce4ec51
6 years, 3 months ago (2014-09-05 10:00:36 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:38:21 UTC) #21
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a3e9d8b6ec39cb3fe8f075fe509ff29c3d3a2abb
Cr-Commit-Position: refs/heads/master@{#293486}

Powered by Google App Engine
This is Rietveld 408576698