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

Issue 2886973003: ThemeSource: simplify thread hopping for NTP CSS (Closed)

Created:
3 years, 7 months ago by Marc Treib
Modified:
3 years, 7 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ThemeSource: simplify thread hopping for NTP CSS ThemeSource used to cache the CSS for the NTP, which allowed it to serve it directly on the IO thread without hopping back to UI. However, https://codereview.chromium.org/2381093002 removed this cache, so the hop is necessary again. This CL slightly simplifies this by using the regular URLDataSource::TaskRunnerForRequestPath facilities instead of manually posting a task to the UI thread. BUG=none Review-Url: https://codereview.chromium.org/2886973003 Cr-Commit-Position: refs/heads/master@{#472734} Committed: https://chromium.googlesource.com/chromium/src/+/2b0271854f085af5d04c60907258ccfa3d7984e2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -18 lines) Patch
M chrome/browser/ui/webui/theme_source.cc View 4 chunks +9 lines, -18 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
Marc Treib
PTAL! Should chrome/browser/themes/OWNERS also own the themes-related stuff in webui/?
3 years, 7 months ago (2017-05-17 13:00:05 UTC) #4
Dan Beam
On 2017/05/17 13:00:05, Marc Treib wrote: > PTAL! > > Should chrome/browser/themes/OWNERS also own the ...
3 years, 7 months ago (2017-05-17 20:50:48 UTC) #15
Marc Treib
On 2017/05/17 20:50:48, Dan Beam wrote: > On 2017/05/17 13:00:05, Marc Treib wrote: > > ...
3 years, 7 months ago (2017-05-18 07:55:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2886973003/1
3 years, 7 months ago (2017-05-18 07:56:05 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 08:01:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2b0271854f085af5d04c60907258...

Powered by Google App Engine
This is Rietveld 408576698