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

Issue 654263003: Implemented OwnerSettingsService::Set() method. (Closed)

Created:
6 years, 2 months ago by ygorshenin1
Modified:
6 years, 1 month 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

Implemented OwnerSettingsService::Set() method. BUG=230018 TEST=unit_tests:OwnerSettingsServiceChromeOSTest.* Committed: https://crrev.com/5fa0ee22683b92d67e07c060e8c7a3c4cced51ee Cr-Commit-Position: refs/heads/master@{#301132} Committed: https://crrev.com/0e5fbf43b4ea78a8f2848b0b7bb1fe69b0c2892e Cr-Commit-Position: refs/heads/master@{#301328}

Patch Set 1 #

Patch Set 2 : Fixes. #

Total comments: 26

Patch Set 3 : Fixes. #

Total comments: 8

Patch Set 4 : Fixes. #

Total comments: 14

Patch Set 5 : Merge with https://codereview.chromium.org/666363002/. #

Total comments: 2

Patch Set 6 : Fixes. #

Patch Set 7 : Fixed tests. #

Patch Set 8 : Fixed crashes under asan. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+851 lines, -499 lines) Patch
M chrome/browser/chromeos/attestation/attestation_policy_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h View 1 2 3 4 5 6 7 7 chunks +59 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc View 1 2 3 4 5 6 7 9 chunks +360 lines, -62 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.cc View 1 2 3 4 5 6 4 chunks +24 lines, -2 lines 0 comments Download
A chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc View 1 2 3 4 5 1 chunk +144 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/consumer_management_service.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/consumer_management_service.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_invalidator_unittest.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.h View 1 2 3 4 5 6 7 6 chunks +21 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 3 4 5 6 7 8 chunks +59 lines, -277 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_service.h View 1 2 3 4 5 6 7 7 chunks +15 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_service.cc View 1 2 3 4 5 6 7 13 chunks +40 lines, -67 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_service_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/settings/session_manager_operation.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/session_manager_operation.cc View 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/ownership/owner_settings_service.h View 1 2 3 4 5 5 chunks +47 lines, -8 lines 0 comments Download
M components/ownership/owner_settings_service.cc View 1 2 3 5 chunks +47 lines, -10 lines 0 comments Download

Messages

Total messages: 35 (7 generated)
ygorshenin1
6 years, 2 months ago (2014-10-15 15:19:43 UTC) #2
ygorshenin1
Mattias, Julian, could you please take a look?
6 years, 2 months ago (2014-10-17 09:59:56 UTC) #3
Mattias Nissler (ping if slow)
Sorry, looking now. ----------------------------------------------- Google Germany GmbH Dienerstr. 12 80331 München Registergericht und -nummer: Hamburg, ...
6 years, 2 months ago (2014-10-17 11:01:29 UTC) #4
Mattias Nissler (ping if slow)
I've put some suggestions to switch more stuff over to OwnerSettingsServiceChromeOS in this CL already, ...
6 years, 2 months ago (2014-10-17 12:05:27 UTC) #5
ygorshenin1
PTAL https://codereview.chromium.org/654263003/diff/20001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/20001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode149 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:149: class OwnerSettingsServiceChromeOS::DeviceSettingsServiceLock { On 2014/10/17 12:05:26, Mattias Nissler ...
6 years, 2 months ago (2014-10-20 11:36:10 UTC) #6
Mattias Nissler (ping if slow)
Mostly replies and suggestions. https://codereview.chromium.org/654263003/diff/20001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/20001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode329 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:329: BrowserThread::PostTask( On 2014/10/20 11:36:10, ygorshenin1 ...
6 years, 2 months ago (2014-10-20 12:41:31 UTC) #7
ygorshenin1
https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode228 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:228: set_requests_.push( On 2014/10/20 12:41:30, Mattias Nissler wrote: > It ...
6 years, 2 months ago (2014-10-20 13:35:17 UTC) #8
Mattias Nissler (ping if slow)
https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode228 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:228: set_requests_.push( On 2014/10/20 13:35:16, ygorshenin1 wrote: > On 2014/10/20 ...
6 years, 2 months ago (2014-10-20 13:46:49 UTC) #9
ygorshenin1
https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/40001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode228 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:228: set_requests_.push( On 2014/10/20 13:46:49, Mattias Nissler wrote: > On ...
6 years, 2 months ago (2014-10-20 13:49:06 UTC) #10
ygorshenin1
Mattias, could you please take a look again? I removed all classes and methods related ...
6 years, 2 months ago (2014-10-22 09:20:12 UTC) #13
ygorshenin1
Friendly ping.
6 years, 2 months ago (2014-10-23 13:10:45 UTC) #14
Mattias Nissler (ping if slow)
Sorry, got a sick child to take care of. Will hopefully get to it in ...
6 years, 2 months ago (2014-10-23 13:26:16 UTC) #15
Mattias Nissler (ping if slow)
https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode193 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:193: device_settings_service_->RemoveObserver(this); nit: should probably do this first in order ...
6 years, 2 months ago (2014-10-24 08:29:56 UTC) #16
ygorshenin1
PTAL https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode193 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:193: device_settings_service_->RemoveObserver(this); On 2014/10/24 08:29:56, Mattias Nissler wrote: > ...
6 years, 2 months ago (2014-10-24 10:33:01 UTC) #17
ygorshenin1
https://codereview.chromium.org/666363002/ is merged to the CL.
6 years, 2 months ago (2014-10-24 10:37:12 UTC) #18
Mattias Nissler (ping if slow)
OK, let's get this in then. LGTM with nits. https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc (right): https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc#newcode55 chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc:55: ...
6 years, 2 months ago (2014-10-24 10:48:13 UTC) #19
ygorshenin1
Many thanks! The CL will be landed after the branch point. https://codereview.chromium.org/654263003/diff/100001/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos_unittest.cc (right): ...
6 years, 2 months ago (2014-10-24 12:10:01 UTC) #20
ygorshenin1
Mattias, would you mind if we will try to land the CL in M39?
6 years, 2 months ago (2014-10-24 12:28:09 UTC) #21
Mattias Nissler (ping if slow)
On 2014/10/24 12:28:09, ygorshenin1 wrote: > Mattias, would you mind if we will try to ...
6 years, 2 months ago (2014-10-24 12:39:27 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654263003/140001
6 years, 2 months ago (2014-10-24 12:47:31 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel/builds/4828)
6 years, 2 months ago (2014-10-24 15:22:10 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654263003/160001
6 years, 2 months ago (2014-10-24 16:33:15 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:160001)
6 years, 2 months ago (2014-10-24 17:23:31 UTC) #29
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/5fa0ee22683b92d67e07c060e8c7a3c4cced51ee Cr-Commit-Position: refs/heads/master@{#301132}
6 years, 2 months ago (2014-10-24 17:24:09 UTC) #30
Avi (use Gerrit)
A revert of this CL (patchset #7 id:160001) has been created in https://codereview.chromium.org/640063008/ by avi@chromium.org. ...
6 years, 2 months ago (2014-10-24 19:03:01 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/654263003/170001
6 years, 1 month ago (2014-10-27 08:15:55 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:170001)
6 years, 1 month ago (2014-10-27 09:11:11 UTC) #34
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 09:11:57 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/0e5fbf43b4ea78a8f2848b0b7bb1fe69b0c2892e
Cr-Commit-Position: refs/heads/master@{#301328}

Powered by Google App Engine
This is Rietveld 408576698