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

Issue 11308196: [cros] RlzValueStore made protected by a cross-process lock and not persisted over browser lifetime… (Closed)

Created:
8 years ago by Ivan Korotkov
Modified:
8 years ago
CC:
chromium-reviews, tfarina, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, sail+watch_chromium.org, oshima+watch_chromium.org, cpu_(ooo_6.6-7.5)
Visibility:
Public.

Description

[cros] RlzValueStore made protected by a cross-process lock and not persisted over browser lifetime (like on Mac). *) Moved RecursiveCrossProcessLock out of .mm file to a common _posix file. *) Added static method to ImportantFileWriter that does blocking write on the current thread. *) Dedicated RLZ thread gone, replaced back with shutdown-blocking worker pool. BUG=157348, 62328 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170179

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : chrome/browser/rlz #

Patch Set 4 : merge #

Patch Set 5 : Enable on Chromium for testing #

Patch Set 6 : Replace MACOSX || CHROMEOS with POSIX, turn MACOSX tests on CHROMEOS #

Patch Set 7 : Comment #

Total comments: 18

Patch Set 8 : Revert RLZTracker from ToT for testing #

Patch Set 9 : Cleanup and rename #

Patch Set 10 : Revert to previous WorkerPool handling (strange crashes on Win/Mac) #

Patch Set 11 : Revert ps#5 #

Patch Set 12 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -737 lines) Patch
M base/files/important_file_writer.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M base/files/important_file_writer.cc View 1 2 3 4 5 6 7 8 5 chunks +18 lines, -11 lines 0 comments Download
M chrome/browser/rlz/rlz.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -11 lines 0 comments Download
M chrome/browser/rlz/rlz.cc View 1 2 3 4 5 6 7 8 9 10 chunks +12 lines, -41 lines 0 comments Download
M chrome/browser/rlz/rlz_unittest.cc View 1 2 3 4 5 6 7 8 9 6 chunks +5 lines, -37 lines 0 comments Download
M rlz/chromeos/lib/rlz_value_store_chromeos.h View 1 3 chunks +21 lines, -34 lines 0 comments Download
M rlz/chromeos/lib/rlz_value_store_chromeos.cc View 1 2 3 4 5 6 7 8 8 chunks +151 lines, -102 lines 0 comments Download
A rlz/lib/recursive_cross_process_lock_posix.h View 1 chunk +43 lines, -0 lines 0 comments Download
A rlz/lib/recursive_cross_process_lock_posix.cc View 1 chunk +81 lines, -0 lines 0 comments Download
D rlz/lib/recursive_lock.h View 1 chunk +0 lines, -34 lines 0 comments Download
D rlz/lib/recursive_lock.cc View 1 chunk +0 lines, -40 lines 0 comments Download
D rlz/lib/recursive_lock_unittest.cc View 1 chunk +0 lines, -234 lines 0 comments Download
M rlz/lib/rlz_lib.h View 2 chunks +0 lines, -15 lines 0 comments Download
M rlz/lib/rlz_lib.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M rlz/lib/rlz_lib_test.cc View 1 2 3 4 5 4 chunks +3 lines, -4 lines 0 comments Download
M rlz/lib/rlz_value_store.h View 1 2 3 4 5 2 chunks +4 lines, -14 lines 0 comments Download
M rlz/mac/lib/rlz_value_store_mac.mm View 4 chunks +6 lines, -95 lines 0 comments Download
M rlz/rlz.gyp View 4 chunks +2 lines, -14 lines 0 comments Download
M rlz/test/rlz_test_helpers.h View 1 2 3 4 5 1 chunk +2 lines, -13 lines 0 comments Download
M rlz/test/rlz_test_helpers.cc View 1 2 3 4 5 2 chunks +4 lines, -24 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ivan Korotkov
PTAL: Roger: rlz/, chrome/browser/rlz Mattias: base/files Carlos: FYI (RLZ thread removed :)
8 years ago (2012-11-26 13:09:28 UTC) #1
Mattias Nissler (ping if slow)
The base/ change looks reasonable to me, I just have a naming nit. I'm not ...
8 years ago (2012-11-26 15:48:57 UTC) #2
Roger Tawa OOO till Jul 10th
Thanks Ivan. A few questions below. https://codereview.chromium.org/11308196/diff/3018/rlz/chromeos/lib/rlz_value_store_chromeos.cc File rlz/chromeos/lib/rlz_value_store_chromeos.cc (right): https://codereview.chromium.org/11308196/diff/3018/rlz/chromeos/lib/rlz_value_store_chromeos.cc#newcode82 rlz/chromeos/lib/rlz_value_store_chromeos.cc:82: DCHECK(CalledOnValidThread()); why call ...
8 years ago (2012-11-26 19:16:51 UTC) #3
Ivan Korotkov
Mattias, well, technically you're the only one listed in base/files/OWNERS :) If you suggest someone ...
8 years ago (2012-11-27 11:37:25 UTC) #4
Mattias Nissler (ping if slow)
On 2012/11/27 11:37:25, Ivan Korotkov wrote: > Mattias, well, technically you're the only one listed ...
8 years ago (2012-11-27 12:12:21 UTC) #5
Ivan Korotkov
+willchan for base/files approval Rogert, PTAL. This one's ready for submission.
8 years ago (2012-11-28 09:00:04 UTC) #6
Roger Tawa OOO till Jul 10th
lgtm
8 years ago (2012-11-28 15:04:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/11308196/6002
8 years ago (2012-11-29 11:25:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ivankr@chromium.org/11308196/3045
8 years ago (2012-11-29 12:09:45 UTC) #9
commit-bot: I haz the power
Change committed as 170179
8 years ago (2012-11-29 14:00:14 UTC) #10
willchan no longer on Chromium
Hey guys, this particular instance isn't that big of a deal, but in the future ...
8 years ago (2012-12-01 18:01:35 UTC) #11
Ivan Korotkov
Hi Will, sorry for that -- I must have missed that there's still no LGTM ...
8 years ago (2012-12-02 11:25:03 UTC) #12
Ivan Korotkov
8 years ago (2012-12-02 13:58:32 UTC) #13
Message was sent while issue was closed.
Hmmm, BTW, it seems that there is per-file OWNERS support:
http://code.google.com/searchframe#OAMlx_jo-ck/src/content/browser/OWNERS&exa...
, for example

Powered by Google App Engine
This is Rietveld 408576698