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

Issue 2596173002: Use explicit WebString <-> string conversion methods for workers (Closed)

Created:
3 years, 12 months ago by kinuko
Modified:
3 years, 11 months ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, mlamouri+watch-content_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use explicit WebString <-> string conversion methods for workers As we're deprecating implicit conversions for WebString <-> string16 replace them with explicit methods. (See crbug.com/667131 for more details) This patch also replaces WebString::fromUTF8 with WebString::fromASCII for some of the strings are guaranteed to be ASCII-only. BUG=667131 Committed: https://crrev.com/6f58cf2958619996b056b14622bb43b16705248f Cr-Commit-Position: refs/heads/master@{#440701}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -40 lines) Patch
M content/child/service_worker/service_worker_dispatcher.cc View 8 chunks +14 lines, -8 lines 1 comment Download
M content/child/service_worker/web_service_worker_impl.cc View 1 chunk +2 lines, -3 lines 1 comment Download
M content/renderer/service_worker/embedded_worker_dispatcher.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 13 chunks +22 lines, -23 lines 1 comment Download
M content/renderer/shared_worker/embedded_shared_worker_content_settings_client_proxy.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/shared_worker/embedded_shared_worker_stub.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/shared_worker_repository.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
kinuko
Mostly mechanical only. PTL https://codereview.chromium.org/2596173002/diff/1/content/renderer/service_worker/service_worker_context_client.cc File content/renderer/service_worker/service_worker_context_client.cc (right): https://codereview.chromium.org/2596173002/diff/1/content/renderer/service_worker/service_worker_context_client.cc#newcode458 content/renderer/service_worker/service_worker_context_client.cc:458: id.utf8())); These ids should be ...
3 years, 12 months ago (2016-12-22 08:23:44 UTC) #3
falken
Sorry for the basic questions. Actually this confused me recently. I don't really understand when ...
3 years, 11 months ago (2016-12-26 01:26:20 UTC) #8
kinuko
On 2016/12/26 01:26:20, falken wrote: > Sorry for the basic questions. Actually this confused me ...
3 years, 11 months ago (2016-12-26 04:21:38 UTC) #9
falken
Thanks for the background. lgtm On 2016/12/26 04:21:38, kinuko wrote: > On 2016/12/26 01:26:20, falken ...
3 years, 11 months ago (2016-12-26 05:16:25 UTC) #10
kinuko
On 2016/12/26 05:16:25, falken wrote: > Thanks for the background. lgtm > > On 2016/12/26 ...
3 years, 11 months ago (2016-12-26 07:26:21 UTC) #11
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/2596173002/1
3 years, 11 months ago (2016-12-26 07:26:39 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2016-12-26 08:56:09 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2016-12-26 08:58:10 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6f58cf2958619996b056b14622bb43b16705248f
Cr-Commit-Position: refs/heads/master@{#440701}

Powered by Google App Engine
This is Rietveld 408576698