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

Issue 11027070: Moved JsonPrefStore to use SequencedWorkerPool (Closed)

Created:
8 years, 2 months ago by zel
Modified:
6 years, 11 months ago
CC:
chromium-reviews, MAD, jar (doing other things), Raghu Simha, tfarina, haitaol1, Ilya Sherman, tim (not reviewing)
Visibility:
Public.

Description

Moved JsonPrefStore to use SequencedWorkerPool instead of FILE thread. The pool also ensures that the same file requests are written in order received and that they block on shutdown. BUG=153367 TEST=existing unit/browser tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166603

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 6

Patch Set 4 : addressing review comments #

Patch Set 5 : rebase #

Patch Set 6 : unit test fixes #

Patch Set 7 : #

Total comments: 16

Patch Set 8 : test fixes #

Patch Set 9 : more unit test yaks shaved #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : rebase #

Patch Set 14 : more unit test fixes #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Patch Set 18 : #

Total comments: 2

Patch Set 19 : #

Patch Set 20 : #

Total comments: 3

Patch Set 21 : #

Patch Set 22 : win build fix #

Patch Set 23 : rebase #

Total comments: 34

Patch Set 24 : #

Patch Set 25 : #

Total comments: 55

Patch Set 26 : #

Patch Set 27 : #

Patch Set 28 : #

Total comments: 29

Patch Set 29 : rebase #

Total comments: 35

Patch Set 30 : comment fixes #

Patch Set 31 : incorporated Mattias' comments #

Patch Set 32 : #

Total comments: 6

Patch Set 33 : #

Patch Set 34 : #

Patch Set 35 : #

Patch Set 36 : rebase #

Patch Set 37 : FakeExternalTab test fixes #

Patch Set 38 : win_rel fixes #

Patch Set 39 : rebase #

Patch Set 40 : rebase #

Patch Set 41 : rebase after revert #

Patch Set 42 : fixes for LoginUtils* test flakes #

Total comments: 7

Patch Set 43 : updates #

Patch Set 44 : moved BookmarkStorage I/O operations to profile's SequencedTaskRunner #

Patch Set 45 : #

Patch Set 46 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+425 lines, -230 lines) Patch
M base/files/important_file_writer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +6 lines, -6 lines 0 comments Download
M base/files/important_file_writer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 3 chunks +6 lines, -6 lines 0 comments Download
M base/prefs/json_pref_store.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +12 lines, -5 lines 0 comments Download
M base/prefs/json_pref_store.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 6 chunks +26 lines, -13 lines 0 comments Download
M base/prefs/json_pref_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 10 chunks +27 lines, -23 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_storage.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 2 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 4 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 9 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_prefs_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/menu_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_prefs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 3 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/test_extension_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +21 lines, -23 lines 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 34 chunks +62 lines, -41 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/browser/policy/managed_mode_policy_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/policy/managed_mode_policy_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/prefs/pref_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/prefs/pref_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_service_mock_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/prefs/pref_service_mock_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/prefs/pref_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 10 chunks +60 lines, -13 lines 3 comments Download
M chrome/browser/sync/credential_cache_service_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_context_menu_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/service/cloud_print/connector_settings_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/service/service_process.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/service/service_process.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +11 lines, -1 line 0 comments Download
M chrome/service/service_process_prefs.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/service/service_process_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/service/service_process_prefs_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/reliability/page_load_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -1 line 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 50 (0 generated)
zel
8 years, 2 months ago (2012-10-05 19:42:23 UTC) #1
eroman
while this seems like an improvement, it doesn't seem to fix the underlying problem of ...
8 years, 2 months ago (2012-10-05 20:38:35 UTC) #2
zel
You are right, this CL does not solve this problem completely. It's just for (a) ...
8 years, 2 months ago (2012-10-05 20:54:28 UTC) #3
jar (doing other things)
metrics_service changes in patch set 3 LGTM. I do think that IF you can guarantee ...
8 years, 2 months ago (2012-10-05 21:58:18 UTC) #4
willchan no longer on Chromium
https://codereview.chromium.org/11027070/diff/12/chrome/common/json_pref_store.h File chrome/common/json_pref_store.h (right): https://codereview.chromium.org/11027070/diff/12/chrome/common/json_pref_store.h#newcode35 chrome/common/json_pref_store.h:35: static JsonPrefStore* Create(const FilePath& pref_filename, Do we have many ...
8 years, 2 months ago (2012-10-05 22:38:34 UTC) #5
zel
https://codereview.chromium.org/11027070/diff/12/chrome/common/json_pref_store.h File chrome/common/json_pref_store.h (right): https://codereview.chromium.org/11027070/diff/12/chrome/common/json_pref_store.h#newcode35 chrome/common/json_pref_store.h:35: static JsonPrefStore* Create(const FilePath& pref_filename, On 2012/10/05 22:38:34, willchan ...
8 years, 2 months ago (2012-10-10 01:27:50 UTC) #6
zel
+abodenha for chrome/service part
8 years, 2 months ago (2012-10-10 01:28:57 UTC) #7
akalin
few more https://codereview.chromium.org/11027070/diff/21019/chrome/common/json_pref_store.cc File chrome/common/json_pref_store.cc (right): https://codereview.chromium.org/11027070/diff/21019/chrome/common/json_pref_store.cc#newcode16 chrome/common/json_pref_store.cc:16: #include "base/task_runner.h" sequenced_task_runner.h https://codereview.chromium.org/11027070/diff/21019/chrome/common/json_pref_store.cc#newcode31 chrome/common/json_pref_store.cc:31: base::TaskRunner* task_runner) ...
8 years, 2 months ago (2012-10-10 01:43:15 UTC) #8
Albert Bodenhamer
I don't see anything scary, but Gene is a much better choice for this review.
8 years, 2 months ago (2012-10-10 16:07:03 UTC) #9
gene
lgtm
8 years, 2 months ago (2012-10-10 17:06:44 UTC) #10
zel
+mnissler for chrome/browser/prefs part +asargent for chrome/browser/extensions part OK, to make JsonPrefStore use exclusively blocking ...
8 years, 2 months ago (2012-10-10 23:24:59 UTC) #11
willchan no longer on Chromium
http://codereview.chromium.org/11027070/diff/20015/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/11027070/diff/20015/chrome/browser/profiles/profile_impl.cc#newcode221 chrome/browser/profiles/profile_impl.cc:221: path.AsUTF8Unsafe()), The only thing that makes me feel nervous ...
8 years, 2 months ago (2012-10-11 23:19:30 UTC) #12
akalin
http://codereview.chromium.org/11027070/diff/21019/chrome/common/json_pref_store.h File chrome/common/json_pref_store.h (right): http://codereview.chromium.org/11027070/diff/21019/chrome/common/json_pref_store.h#newcode77 chrome/common/json_pref_store.h:77: scoped_refptr<base::SequencedTaskRunner> task_runner_; On 2012/10/10 23:25:00, zel wrote: > On ...
8 years, 2 months ago (2012-10-12 19:23:56 UTC) #13
zel
http://codereview.chromium.org/11027070/diff/20015/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/11027070/diff/20015/chrome/browser/profiles/profile_impl.cc#newcode221 chrome/browser/profiles/profile_impl.cc:221: path.AsUTF8Unsafe()), On 2012/10/11 23:19:31, willchan wrote: > The only ...
8 years, 2 months ago (2012-10-12 23:15:32 UTC) #14
akalin
On 2012/10/12 23:15:32, zel wrote: > I have isolated SequencedTaskRunner and shared it for profile ...
8 years, 2 months ago (2012-10-17 16:59:27 UTC) #15
zel
On 2012/10/17 16:59:27, akalin wrote: > On 2012/10/12 23:15:32, zel wrote: > > I have ...
8 years, 2 months ago (2012-10-17 18:04:40 UTC) #16
akalin
On 2012/10/17 18:04:40, zel wrote: > The factory method variant that uses SequencedTaskRunner, > JsonPrefStore::Create(STR, ...
8 years, 2 months ago (2012-10-17 21:57:30 UTC) #17
akalin
http://codereview.chromium.org/11027070/diff/44001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/11027070/diff/44001/chrome/browser/browser_process_impl.cc#newcode711 chrome/browser/browser_process_impl.cc:711: scoped_refptr<base::SequencedTaskRunner> sequenced_task_runner = is there any way we can ...
8 years, 2 months ago (2012-10-17 21:58:19 UTC) #18
zel
On 2012/10/17 21:57:30, akalin wrote: > On 2012/10/17 18:04:40, zel wrote: > > The factory ...
8 years, 2 months ago (2012-10-17 23:38:17 UTC) #19
willchan no longer on Chromium
chrome/browser/profiles LGTM I did not survey all the callsites of the blocking pool vs SequencedTaskRunner ...
8 years, 2 months ago (2012-10-17 23:41:19 UTC) #20
akalin
On 2012/10/17 23:38:17, zel wrote: > I am ok with that approach as well, but ...
8 years, 2 months ago (2012-10-17 23:42:18 UTC) #21
akalin
On 2012/10/17 23:42:18, akalin wrote: > On 2012/10/17 23:38:17, zel wrote: > > I am ...
8 years, 2 months ago (2012-10-17 23:47:18 UTC) #22
zel
akalin@, I've also added a static method for getting appropriate SequencedTaskRunner to JsonPrefStore as we ...
8 years, 2 months ago (2012-10-18 00:31:15 UTC) #23
akalin
Bunch more comments. Basically I want to avoid more uses of SWP in unit tests ...
8 years, 2 months ago (2012-10-18 23:52:24 UTC) #24
zel
http://codereview.chromium.org/11027070/diff/46005/chrome/browser/browser_process_impl.h File chrome/browser/browser_process_impl.h (right): http://codereview.chromium.org/11027070/diff/46005/chrome/browser/browser_process_impl.h#newcode45 chrome/browser/browser_process_impl.h:45: explicit BrowserProcessImpl( On 2012/10/18 23:52:24, akalin wrote: > remove ...
8 years, 2 months ago (2012-10-19 01:20:31 UTC) #25
akalin
one more pass. mostly nits, but a few more substantial comments here and there http://codereview.chromium.org/11027070/diff/44005/chrome/browser/browser_process_impl.cc ...
8 years, 2 months ago (2012-10-19 02:00:51 UTC) #26
zel
http://codereview.chromium.org/11027070/diff/44005/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/11027070/diff/44005/chrome/browser/browser_process_impl.cc#newcode19 chrome/browser/browser_process_impl.cc:19: #include "base/threading/sequenced_worker_pool.h" On 2012/10/19 02:00:51, akalin wrote: > not ...
8 years, 2 months ago (2012-10-19 18:45:07 UTC) #27
akalin
> Wouldn't we nuke the instance of SequencedTaskRunner object if the returned > scoped_refptr<SequencedTaskRunner> from ...
8 years, 2 months ago (2012-10-19 23:01:16 UTC) #28
akalin
LGTM after nits below http://codereview.chromium.org/11027070/diff/59033/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/11027070/diff/59033/chrome/browser/browser_process_impl.cc#newcode718 chrome/browser/browser_process_impl.cc:718: PathService::Get(chrome::FILE_LOCAL_STATE, &local_state_path); CHECK return value ...
8 years, 2 months ago (2012-10-19 23:12:21 UTC) #29
zel
http://codereview.chromium.org/11027070/diff/59033/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): http://codereview.chromium.org/11027070/diff/59033/chrome/browser/browser_process_impl.cc#newcode718 chrome/browser/browser_process_impl.cc:718: PathService::Get(chrome::FILE_LOCAL_STATE, &local_state_path); On 2012/10/19 23:12:21, akalin wrote: > CHECK ...
8 years, 2 months ago (2012-10-21 20:03:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/11027070/59036
8 years, 2 months ago (2012-10-22 16:43:58 UTC) #31
commit-bot: I haz the power
Presubmit check for 11027070-59036 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-22 16:44:15 UTC) #32
Mattias Nissler (ping if slow)
Given that I'm late to the party, it might be that most of my questions ...
8 years, 2 months ago (2012-10-22 17:28:20 UTC) #33
akalin
https://chromiumcodereview.appspot.com/11027070/diff/59036/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://chromiumcodereview.appspot.com/11027070/diff/59036/chrome/browser/browser_process_impl.cc#newcode151 chrome/browser/browser_process_impl.cc:151: local_state_task_runner_(local_state_task_runner) { On 2012/10/22 17:28:21, Mattias Nissler wrote: > ...
8 years, 2 months ago (2012-10-22 17:37:24 UTC) #34
zel
https://chromiumcodereview.appspot.com/11027070/diff/59036/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://chromiumcodereview.appspot.com/11027070/diff/59036/chrome/browser/browser_process_impl.cc#newcode151 chrome/browser/browser_process_impl.cc:151: local_state_task_runner_(local_state_task_runner) { On 2012/10/22 17:37:25, akalin wrote: > On ...
8 years, 2 months ago (2012-10-24 02:20:10 UTC) #35
Mattias Nissler (ping if slow)
My remaining concern with you current code is that stuff on the FILE thread cannot ...
8 years, 2 months ago (2012-10-24 13:36:16 UTC) #36
zel
http://codereview.chromium.org/11027070/diff/59036/chrome/browser/extensions/extension_prefs_unittest.cc File chrome/browser/extensions/extension_prefs_unittest.cc (right): http://codereview.chromium.org/11027070/diff/59036/chrome/browser/extensions/extension_prefs_unittest.cc#newcode55 chrome/browser/extensions/extension_prefs_unittest.cc:55: file_thread_(BrowserThread::FILE, &message_loop_), On 2012/10/24 13:36:16, Mattias Nissler wrote: > ...
8 years, 2 months ago (2012-10-24 16:49:48 UTC) #37
Mattias Nissler (ping if slow)
LGTM with nits. Fingers crossed :) http://codereview.chromium.org/11027070/diff/79001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/11027070/diff/79001/chrome/browser/profiles/profile_impl.cc#newcode161 chrome/browser/profiles/profile_impl.cc:161: void CreateDirectoryNoResult(const FilePath& ...
8 years, 2 months ago (2012-10-24 17:07:49 UTC) #38
zel
http://codereview.chromium.org/11027070/diff/79001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/11027070/diff/79001/chrome/browser/profiles/profile_impl.cc#newcode161 chrome/browser/profiles/profile_impl.cc:161: void CreateDirectoryNoResult(const FilePath& path, On 2012/10/24 17:07:49, Mattias Nissler ...
8 years, 2 months ago (2012-10-24 17:23:14 UTC) #39
Aaron Boodman
lgtm
8 years, 1 month ago (2012-10-25 22:37:03 UTC) #40
miket_OOO
c/b/extensions LGTM
8 years, 1 month ago (2012-10-25 22:42:25 UTC) #41
ananta
LGTM if cf try bots are happy
8 years, 1 month ago (2012-10-25 23:07:49 UTC) #42
sky
LGTM
8 years, 1 month ago (2012-10-25 23:25:53 UTC) #43
Nikita (slow)
http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc File chrome/browser/chromeos/login/login_utils_browsertest.cc (left): http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc#oldcode223 chrome/browser/chromeos/login/login_utils_browsertest.cc:223: RunAllPending(); This is just to use proper method, right? ...
8 years, 1 month ago (2012-11-06 08:53:08 UTC) #44
Mattias Nissler (ping if slow)
http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc File chrome/browser/chromeos/login/login_utils_browsertest.cc (right): http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc#newcode575 chrome/browser/chromeos/login/login_utils_browsertest.cc:575: I think you need a RunUntilIdle here as well? ...
8 years, 1 month ago (2012-11-06 09:07:54 UTC) #45
zel
http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc File chrome/browser/chromeos/login/login_utils_browsertest.cc (left): http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc#oldcode223 chrome/browser/chromeos/login/login_utils_browsertest.cc:223: RunAllPending(); On 2012/11/06 08:53:08, Nikita Kostylev wrote: > This ...
8 years, 1 month ago (2012-11-06 23:25:53 UTC) #46
Mattias Nissler (ping if slow)
LGTM again :) http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc File chrome/browser/chromeos/login/login_utils_browsertest.cc (right): http://codereview.chromium.org/11027070/diff/94001/chrome/browser/chromeos/login/login_utils_browsertest.cc#newcode575 chrome/browser/chromeos/login/login_utils_browsertest.cc:575: On 2012/11/06 23:25:54, zel wrote: > ...
8 years, 1 month ago (2012-11-07 07:52:31 UTC) #47
Nico
https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/profile_impl.cc#newcode174 chrome/browser/profiles/profile_impl.cc:174: base::WaitableEvent* done_creating = new base::WaitableEvent(false, false); Who owns this? ...
6 years, 11 months ago (2014-01-23 21:14:41 UTC) #48
zel
https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/profile_impl.cc#newcode174 chrome/browser/profiles/profile_impl.cc:174: base::WaitableEvent* done_creating = new base::WaitableEvent(false, false); On 2014/01/23 21:14:44, ...
6 years, 11 months ago (2014-01-23 21:18:55 UTC) #49
Nico
6 years, 11 months ago (2014-01-23 21:24:40 UTC) #50
Message was sent while issue was closed.
https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/...
File chrome/browser/profiles/profile_impl.cc (right):

https://codereview.chromium.org/11027070/diff/100004/chrome/browser/profiles/...
chrome/browser/profiles/profile_impl.cc:174: base::WaitableEvent* done_creating
= new base::WaitableEvent(false, false);
On 2014/01/23 21:18:57, zel wrote:
> On 2014/01/23 21:14:44, Nico wrote:
> > Who owns this? Is this ever deleted anywhere?
> 
> see line 184 below

D'oh, thanks!

(Maybe scoped_ptr and base::Passed would've made this slightly clearer, but it's
already pretty clear. Sorry for the noise!)

Powered by Google App Engine
This is Rietveld 408576698