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

Issue 1133563007: Adding WebThread and new BlinkPlatformImpl for utility thread. (Closed)

Created:
5 years, 7 months ago by ssid
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Primiano Tucci (use gerrit), Matt Perry
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding WebThread and new BlinkPlatformImpl for utility thread. For ensuring that the blink is always initialized with WebThread, the call sites of blink must implement WebThread to expose the task runner. UtilityThread is the only case where blink is run without exposing the platform thread. This CL adds new WebThread implementation for UtilityThread. After this change blink will always initialized with platform thread and task runner exposed. BUG=486782 Committed: https://crrev.com/90e34895f20edf97693c14ac0ec6faf64dbdcd91 Cr-Commit-Position: refs/heads/master@{#329442}

Patch Set 1 #

Patch Set 2 : Adding gn file. #

Patch Set 3 : Nit. #

Total comments: 6

Patch Set 4 : Fixed overrides. #

Total comments: 6

Patch Set 5 : Fixing style. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -2 lines) Patch
M content/content_utility.gypi View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/utility/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/utility/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A content/utility/utility_blink_platform_impl.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A content/utility/utility_blink_platform_impl.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M content/utility/utility_thread_impl.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/utility/utility_thread_impl.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
A content/utility/webthread_impl_for_utility_thread.h View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
A content/utility/webthread_impl_for_utility_thread.cc View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ssid
5 years, 7 months ago (2015-05-11 16:46:18 UTC) #2
Sami
Non-owner lgtm with some nits. https://codereview.chromium.org/1133563007/diff/40001/content/utility/utility_blink_platform_impl.h File content/utility/utility_blink_platform_impl.h (right): https://codereview.chromium.org/1133563007/diff/40001/content/utility/utility_blink_platform_impl.h#newcode16 content/utility/utility_blink_platform_impl.h:16: virtual ~UtilityBlinkPlatformImpl(); nit: ~UtilityBlinkPlatformImpl() ...
5 years, 7 months ago (2015-05-11 17:08:02 UTC) #3
ssid
+sievers Please review the changes. https://codereview.chromium.org/1133563007/diff/40001/content/utility/utility_blink_platform_impl.h File content/utility/utility_blink_platform_impl.h (right): https://codereview.chromium.org/1133563007/diff/40001/content/utility/utility_blink_platform_impl.h#newcode16 content/utility/utility_blink_platform_impl.h:16: virtual ~UtilityBlinkPlatformImpl(); On 2015/05/11 ...
5 years, 7 months ago (2015-05-11 17:21:00 UTC) #5
no sievers
Can you update the bug with what the actual bug/problem is, and the cl with ...
5 years, 7 months ago (2015-05-11 18:27:14 UTC) #6
ssid
Thanks, Fixed comments and updated the description. PTAL. https://codereview.chromium.org/1133563007/diff/60001/content/content_utility.gypi File content/content_utility.gypi (right): https://codereview.chromium.org/1133563007/diff/60001/content/content_utility.gypi#newcode18 content/content_utility.gypi:18: 'utility/utility_blink_platform_impl.cc', ...
5 years, 7 months ago (2015-05-12 09:42:18 UTC) #7
no sievers
lgtm
5 years, 7 months ago (2015-05-12 17:54:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1133563007/80001
5 years, 7 months ago (2015-05-12 18:05:43 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-12 18:10:17 UTC) #12
commit-bot: I haz the power
5 years, 7 months ago (2015-05-12 18:11:12 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/90e34895f20edf97693c14ac0ec6faf64dbdcd91
Cr-Commit-Position: refs/heads/master@{#329442}

Powered by Google App Engine
This is Rietveld 408576698