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

Issue 2598923003: Use explicit WebString <-> string{16,} conversion methods for WebURLLoader files (Closed)

Created:
4 years ago by kinuko
Modified:
3 years, 12 months ago
Reviewers:
yhirano
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -33 lines) Patch
M content/child/web_url_loader_impl.cc View 7 chunks +25 lines, -28 lines 3 comments Download
M content/child/web_url_request_util.cc View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
kinuko
PTL
4 years ago (2016-12-22 06:42:03 UTC) #5
yhirano
lgtm https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc#newcode545 content/child/web_url_loader_impl.cc:545: request.httpHeaderField(WebString::fromASCII("Referer")).latin1()); WebString::fromASCII(c_str).latin1() looks identical to std::string(c_str), right?
3 years, 12 months ago (2016-12-26 03:36:22 UTC) #8
kinuko
Thanks! https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc#newcode545 content/child/web_url_loader_impl.cc:545: request.httpHeaderField(WebString::fromASCII("Referer")).latin1()); On 2016/12/26 03:36:22, yhirano wrote: > WebString::fromASCII(c_str).latin1() ...
3 years, 12 months ago (2016-12-26 07:28:05 UTC) #9
yhirano
https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc File content/child/web_url_loader_impl.cc (right): https://codereview.chromium.org/2598923003/diff/1/content/child/web_url_loader_impl.cc#newcode545 content/child/web_url_loader_impl.cc:545: request.httpHeaderField(WebString::fromASCII("Referer")).latin1()); On 2016/12/26 07:28:05, kinuko wrote: > On 2016/12/26 ...
3 years, 12 months ago (2016-12-26 07:38:59 UTC) #10
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/2598923003/1
3 years, 12 months ago (2016-12-26 13:09:17 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 12 months ago (2016-12-26 13:58:08 UTC) #15
commit-bot: I haz the power
3 years, 12 months ago (2016-12-26 14:00:31 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5204fb6a7ff224c2f1f4f7f8f086b215d50b10f7
Cr-Commit-Position: refs/heads/master@{#440712}

Powered by Google App Engine
This is Rietveld 408576698