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

Issue 892103003: PlatformKeysService: Process state accessing operations sequentially. (Closed)

Created:
5 years, 10 months ago by pneubeck (no reviews)
Modified:
5 years, 10 months ago
Reviewers:
kaliamoorthi
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@cert_impl_sign
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlatformKeysService: Process state accessing operations sequentially. To prevent concurrent updates and reading old state, operations have to executed in sequence if they read or modify an extension's StateStore. This change is not affecting/modifying the crypto operations but only changes the processing order of the operations. BUG=450167 Committed: https://crrev.com/76cf3b94584a622a9017c1e3b31f82c18e764804 Cr-Commit-Position: refs/heads/master@{#316411}

Patch Set 1 : Rebased. #

Patch Set 2 : Minor cleanup. #

Total comments: 8

Patch Set 3 : Removed NOT_STARTED state. #

Total comments: 8

Patch Set 4 : Addressed comments. #

Total comments: 4

Patch Set 5 : Rebased. #

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -155 lines) Patch
M chrome/browser/chromeos/platform_keys/platform_keys_service.h View 1 2 3 4 5 5 chunks +27 lines, -34 lines 0 comments Download
M chrome/browser/chromeos/platform_keys/platform_keys_service.cc View 1 2 3 4 5 8 chunks +278 lines, -121 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
pneubeck (no reviews)
-Bartosz, +Thiemo
5 years, 10 months ago (2015-02-02 12:39:46 UTC) #3
pneubeck (no reviews)
-Thiemo Prabhu, ptal.
5 years, 10 months ago (2015-02-08 15:08:31 UTC) #8
kaliamoorthi
Some high level comments first. https://codereview.chromium.org/892103003/diff/120001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/120001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode52 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:52: WRITE_UPDATE, Not sure if ...
5 years, 10 months ago (2015-02-09 10:44:01 UTC) #11
pneubeck (no reviews)
ptal https://codereview.chromium.org/892103003/diff/120001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/120001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode52 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:52: WRITE_UPDATE, On 2015/02/09 10:44:01, kaliamoorthi wrote: > Not ...
5 years, 10 months ago (2015-02-09 14:02:38 UTC) #13
kaliamoorthi
https://codereview.chromium.org/892103003/diff/180001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/180001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode55 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:55: PermissionUpdateTask(const bool new_permission_value, Document https://codereview.chromium.org/892103003/diff/180001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode300 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:300: tasks_.push(make_linked_ptr(task.release())); Is there ...
5 years, 10 months ago (2015-02-09 15:13:15 UTC) #14
pneubeck (no reviews)
https://codereview.chromium.org/892103003/diff/180001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/180001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode55 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:55: PermissionUpdateTask(const bool new_permission_value, On 2015/02/09 15:13:15, kaliamoorthi wrote: > ...
5 years, 10 months ago (2015-02-09 15:36:11 UTC) #15
kaliamoorthi
LGTM with nits https://codereview.chromium.org/892103003/diff/200001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/200001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode357 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:357: void PlatformKeysService::DidRegisterGeneratedKey( nit: How about RegisteredGeneratedKey? ...
5 years, 10 months ago (2015-02-09 16:02:10 UTC) #16
pneubeck (no reviews)
https://codereview.chromium.org/892103003/diff/200001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc File chrome/browser/chromeos/platform_keys/platform_keys_service.cc (right): https://codereview.chromium.org/892103003/diff/200001/chrome/browser/chromeos/platform_keys/platform_keys_service.cc#newcode357 chrome/browser/chromeos/platform_keys/platform_keys_service.cc:357: void PlatformKeysService::DidRegisterGeneratedKey( On 2015/02/09 16:02:10, kaliamoorthi wrote: > nit: ...
5 years, 10 months ago (2015-02-15 09:25:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892103003/240001
5 years, 10 months ago (2015-02-15 09:26:22 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25489)
5 years, 10 months ago (2015-02-15 10:19:43 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892103003/240001
5 years, 10 months ago (2015-02-15 10:23:37 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:240001)
5 years, 10 months ago (2015-02-16 00:37:49 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-02-16 00:38:24 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/76cf3b94584a622a9017c1e3b31f82c18e764804
Cr-Commit-Position: refs/heads/master@{#316411}

Powered by Google App Engine
This is Rietveld 408576698