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

Issue 1101253002: Stop calling WritePrivateDataToCacheFileTask() on the UI thread during shutdown (Closed)

Created:
5 years, 8 months ago by hashimoto
Modified:
5 years, 8 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop calling WritePrivateDataToCacheFileTask() on the UI thread during shutdown Let InMemoryURLIndex use SequencedTaskRunner instead of FILE thread to perform file tasks. Post WritePrivateDataToCacheFileTask() in dtor. BUG=480822 Committed: https://crrev.com/c33ec5d12a7994ea3d8c03fe8cd9efc6745dc837 Cr-Commit-Position: refs/heads/master@{#327003}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Patch Set 3 : Fix initialization order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
M chrome/browser/autocomplete/in_memory_url_index.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/in_memory_url_index.cc View 1 2 7 chunks +20 lines, -16 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
hashimoto
Peter, could you review this change?
5 years, 8 months ago (2015-04-24 15:10:06 UTC) #2
Peter Kasting
LGTM with question. https://codereview.chromium.org/1101253002/diff/1/chrome/browser/autocomplete/in_memory_url_index.cc File chrome/browser/autocomplete/in_memory_url_index.cc (right): https://codereview.chromium.org/1101253002/diff/1/chrome/browser/autocomplete/in_memory_url_index.cc#newcode197 chrome/browser/autocomplete/in_memory_url_index.cc:197: if (needs_to_be_cached_ && GetCacheFilePath(&path)) { Nit: ...
5 years, 8 months ago (2015-04-24 23:15:33 UTC) #3
hashimoto
https://codereview.chromium.org/1101253002/diff/1/chrome/browser/autocomplete/in_memory_url_index.cc File chrome/browser/autocomplete/in_memory_url_index.cc (right): https://codereview.chromium.org/1101253002/diff/1/chrome/browser/autocomplete/in_memory_url_index.cc#newcode197 chrome/browser/autocomplete/in_memory_url_index.cc:197: if (needs_to_be_cached_ && GetCacheFilePath(&path)) { On 2015/04/24 23:15:33, Peter ...
5 years, 8 months ago (2015-04-27 04:58:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1101253002/20001
5 years, 8 months ago (2015-04-27 04:58:21 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/31362)
5 years, 8 months ago (2015-04-27 05:11:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1101253002/40001
5 years, 8 months ago (2015-04-27 05:15:11 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-27 06:12:06 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-27 06:13:05 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c33ec5d12a7994ea3d8c03fe8cd9efc6745dc837
Cr-Commit-Position: refs/heads/master@{#327003}

Powered by Google App Engine
This is Rietveld 408576698