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

Issue 1839823002: mojo leveldb: Remove the created file thread. (Closed)

Created:
4 years, 8 months ago by Elliot Glaysher
Modified:
4 years, 8 months ago
Reviewers:
jam
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mojo leveldb: Remove the created file thread. This runs what was a background thread for file operations on the same thread as the mojo application, which is the db thread in chrome, and the main thread when run as an app. BUG=585587 Committed: https://crrev.com/b3d5935f0e9ca0d610a2b73c227d2d71dc31cf24 Cr-Commit-Position: refs/heads/master@{#383799}

Patch Set 1 #

Patch Set 2 : General patch cleanup. #

Total comments: 5

Patch Set 3 : Use a RunInternal / other comments. #

Patch Set 4 : And cut out manual Signal()ing most places. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+532 lines, -992 lines) Patch
M components/filesystem/public/interfaces/directory.mojom View 2 chunks +10 lines, -0 lines 0 comments Download
M components/filesystem/public/interfaces/file.mojom View 1 chunk +2 lines, -0 lines 0 comments Download
M components/leveldb/BUILD.gn View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/leveldb/env_mojo.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M components/leveldb/env_mojo.cc View 1 4 chunks +12 lines, -14 lines 0 comments Download
M components/leveldb/leveldb.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_app.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/leveldb/leveldb_file_thread.h View 1 1 chunk +0 lines, -252 lines 0 comments Download
M components/leveldb/leveldb_file_thread.cc View 1 1 chunk +0 lines, -709 lines 0 comments Download
A components/leveldb/leveldb_mojo_proxy.h View 1 2 3 1 chunk +160 lines, -0 lines 0 comments Download
A components/leveldb/leveldb_mojo_proxy.cc View 1 2 3 1 chunk +324 lines, -0 lines 0 comments Download
M components/leveldb/leveldb_service_impl.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M components/leveldb/leveldb_service_impl.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
A + components/profile_service/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
M components/profile_service/profile_app.cc View 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Elliot Glaysher
4 years, 8 months ago (2016-03-28 23:49:42 UTC) #2
jam
https://codereview.chromium.org/1839823002/diff/20001/components/leveldb/leveldb_mojo_proxy.cc File components/leveldb/leveldb_mojo_proxy.cc (right): https://codereview.chromium.org/1839823002/diff/20001/components/leveldb/leveldb_mojo_proxy.cc#newcode43 components/leveldb/leveldb_mojo_proxy.cc:43: // reply from mojo do we return from this. ...
4 years, 8 months ago (2016-03-29 05:58:00 UTC) #3
Elliot Glaysher
https://codereview.chromium.org/1839823002/diff/20001/components/leveldb/leveldb_mojo_proxy.cc File components/leveldb/leveldb_mojo_proxy.cc (right): https://codereview.chromium.org/1839823002/diff/20001/components/leveldb/leveldb_mojo_proxy.cc#newcode65 components/leveldb/leveldb_mojo_proxy.cc:65: done_event.Wait(); On 2016/03/29 05:58:00, jam wrote: > since this ...
4 years, 8 months ago (2016-03-29 17:33:29 UTC) #4
jam
lgtm
4 years, 8 months ago (2016-03-29 19:16:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839823002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839823002/60001
4 years, 8 months ago (2016-03-29 19:18:08 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-29 20:09:47 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 20:12:02 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b3d5935f0e9ca0d610a2b73c227d2d71dc31cf24
Cr-Commit-Position: refs/heads/master@{#383799}

Powered by Google App Engine
This is Rietveld 408576698