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

Issue 1568073002: Reduce string copies in GURL creation (Closed)

Created:
4 years, 11 months ago by brettw
Modified:
4 years, 11 months ago
Reviewers:
haraken, esprehn
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-worker-reviews_chromium.org, bondd+autofillwatch_chromium.org, browser-components-watch_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, davidben+watch_chromium.org, dcheng, dglazkov+blink, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gavinp+prer_chromium.org, horo+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko, kinuko+watch, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-notifications_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nhiroki, Peter Beverloo, posciak+watch_chromium.org, qsr+mojo_chromium.org, rouslan+autofill_chromium.org, serviceworker-reviews, James Su, tburkard+watch_chromium.org, tzik, vabr+watchlistautofill_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce string copies in GURL creation Converts GURL's constructor to take StringPieces instead of std::string to avoid extra copies when converting from constants (which is fairly common). Adds a WebStringToGURL helper function. The above change broke the ability to give a WebString to GURL's constructor because that relied on the implicit string16 conversion on WebString which will no longer match GURL. This helper function will also eliminate a string copy for almost every WebString to GURL conversion. Normally if a WebString contains a URL, it will be ASCII. The old code would convert this ASCII to a temporary base::string16 just to pass into GURL, which can take either type (and will convert to 8-bit in the end either way). This exposes the internal 8- and 16-bit buffers via new getters. This allows the underlying buffers to be passed directly to GURL in the native format without copying. An alternative to exposing these getters would be to make the conversion function a friend, or adding a GURL getter directly on WebString. But this seems like the wrong type of function to have on a string class. There are a number of other modules in Chrome that can take either 8 or 16 bit strings that may be able to re-use this for performance-critical places. The mojo implicit string conversion was similarly broken. In these cases, this patch just adds a manual get() function call to retrieve the underlying std::string rather than relying on the implicit conversion. Media doesn't depend on content (where I put the helper function) and there were only a few WebString -> GURL conversions there, so I did an explicit string16 constructor for those (matching the current implicit behavior). Committed: https://crrev.com/dfbcc3b7926990bbf5232112261f2ad9d8616e79 Cr-Commit-Position: refs/heads/master@{#370274}

Patch Set 1 #

Patch Set 2 : docs and export #

Patch Set 3 : Mac #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Fix Mojo issues #

Total comments: 2

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Total comments: 9

Patch Set 9 : move to platform #

Patch Set 10 : self review #

Patch Set 11 : #

Total comments: 4

Patch Set 12 : y #

Patch Set 13 : #

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -121 lines) Patch
M chrome/browser/ui/webui/engagement/site_engagement_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +21 lines, -13 lines 0 comments Download
M chrome/renderer/extensions/media_galleries_custom_bindings.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/extensions/resource_request_policy.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/page_load_histograms.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/prerender/prerender_dispatcher.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/worker_content_settings_client_proxy.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M components/html_viewer/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M components/html_viewer/html_document.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M components/html_viewer/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +5 lines, -5 lines 0 comments Download
M components/web_view/frame.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M components/web_view/pending_web_view_load.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/frame_mojo_shell.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/navigator_connect/service_port_service_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/permissions/permission_service_impl.cc View 6 chunks +10 lines, -8 lines 0 comments Download
M content/child/notifications/notification_data_conversions.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M content/child/notifications/notification_manager.cc View 1 2 3 4 5 6 7 8 5 chunks +6 lines, -4 lines 0 comments Download
M content/renderer/dom_storage/webstoragenamespace_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/drop_data_builder.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +7 lines, -4 lines 0 comments Download
M content/renderer/media/cdm/pepper_cdm_wrapper_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -3 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +9 lines, -7 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +8 lines, -4 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -5 lines 0 comments Download
M content/renderer/shared_worker/embedded_shared_worker_stub.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M content/test/weburl_loader_mock.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M mandoline/services/updater/updater_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mandoline/ui/desktop_ui/browser_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M mandoline/ui/desktop_ui/browser_window.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/blink/encrypted_media_player_support.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M media/blink/key_system_config_selector.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M media/blink/webcontentdecryptionmodule_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M media/blink/webencryptedmediaclient_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_cdm.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M media/mojo/services/mojo_cdm_service.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M mojo/runner/android/android_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/network/url_loader_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/application_instance.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/connect_to_application_params.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/shell/fetcher/network_fetcher.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/shell/package_manager/capability_filter_content_handler_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/package_manager/content_handler_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/package_manager/package_manager_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/shell_application_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
A third_party/WebKit/Source/platform/exported/URLConversion.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/public/platform/URLConversion.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/mozilla/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/mozilla/mozilla.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M url/gurl.h View 2 chunks +4 lines, -3 lines 0 comments Download
M url/gurl.cc View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 85 (29 generated)
brettw
docs and export
4 years, 11 months ago (2016-01-07 23:04:52 UTC) #2
brettw
I imagine the change in WebString will be the most contentious, I'm open to alternatives ...
4 years, 11 months ago (2016-01-07 23:06:02 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/20001
4 years, 11 months ago (2016-01-07 23:06:34 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/5304) cast_shell_android on ...
4 years, 11 months ago (2016-01-07 23:25:05 UTC) #9
brettw
Mac
4 years, 11 months ago (2016-01-07 23:36:15 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/40001
4 years, 11 months ago (2016-01-07 23:37:08 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/5323) android_clang_dbg_recipe on ...
4 years, 11 months ago (2016-01-07 23:54:53 UTC) #14
esprehn
https://codereview.chromium.org/1568073002/diff/40001/third_party/WebKit/public/platform/WebString.h File third_party/WebKit/public/platform/WebString.h (right): https://codereview.chromium.org/1568073002/diff/40001/third_party/WebKit/public/platform/WebString.h#newcode170 third_party/WebKit/public/platform/WebString.h:170: BLINK_COMMON_EXPORT const WebLChar* data8OrNull() const; Yeah I don't want ...
4 years, 11 months ago (2016-01-07 23:56:24 UTC) #15
brettw
On 2016/01/07 23:56:24, esprehn wrote: > https://codereview.chromium.org/1568073002/diff/40001/third_party/WebKit/public/platform/WebString.h > File third_party/WebKit/public/platform/WebString.h (right): > > https://codereview.chromium.org/1568073002/diff/40001/third_party/WebKit/public/platform/WebString.h#newcode170 > ...
4 years, 11 months ago (2016-01-08 00:08:01 UTC) #16
esprehn
I think what you want to do is add a WebStringAdapter that has toStringPiece() and ...
4 years, 11 months ago (2016-01-08 02:12:50 UTC) #17
brettw
On 2016/01/08 02:12:50, esprehn wrote: > I think what you want to do is add ...
4 years, 11 months ago (2016-01-08 18:21:12 UTC) #18
brettw
On 2016/01/08 02:12:50, esprehn wrote: > I think what you want to do is add ...
4 years, 11 months ago (2016-01-08 19:08:18 UTC) #19
brettw
I would do a completely new implementation of the UTF-8 adaptor (it's only a few ...
4 years, 11 months ago (2016-01-08 20:19:18 UTC) #20
esprehn
WebStringAdapter shouldn't need to heap allocate the Adapter, but you could write your own I ...
4 years, 11 months ago (2016-01-08 20:23:05 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/60001
4 years, 11 months ago (2016-01-08 21:24:20 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/114640) ios_rel_device_ninja on ...
4 years, 11 months ago (2016-01-08 21:28:11 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/80001
4 years, 11 months ago (2016-01-08 21:55:35 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/162585)
4 years, 11 months ago (2016-01-08 22:24:38 UTC) #29
brettw
PTAL. The only way I could get everything to work without exposing WTF to content ...
4 years, 11 months ago (2016-01-08 22:28:59 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/100001
4 years, 11 months ago (2016-01-08 22:39:13 UTC) #32
michaeln
https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp (right): https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode51 third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp:51: wtfString.length()); drive by: Do you want the adapter to ...
4 years, 11 months ago (2016-01-08 22:52:55 UTC) #33
brettw
https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp (right): https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode51 third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp:51: wtfString.length()); On 2016/01/08 22:52:55, michaeln wrote: > drive by: ...
4 years, 11 months ago (2016-01-08 23:11:21 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/143316)
4 years, 11 months ago (2016-01-08 23:15:13 UTC) #36
michaeln
On 2016/01/08 23:11:21, brettw wrote: > https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp > File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp > (right): > > https://codereview.chromium.org/1568073002/diff/100001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode51 ...
4 years, 11 months ago (2016-01-08 23:49:13 UTC) #37
brettw
I added a comment about lifetime.
4 years, 11 months ago (2016-01-08 23:56:56 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/120001
4 years, 11 months ago (2016-01-08 23:58:01 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/143352)
4 years, 11 months ago (2016-01-09 00:30:38 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/140001
4 years, 11 months ago (2016-01-11 17:54:51 UTC) #44
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/134143)
4 years, 11 months ago (2016-01-11 18:05:21 UTC) #46
brettw
haraken: It looks like esprehn is out for a bit. I think I addressed all ...
4 years, 11 months ago (2016-01-12 22:34:27 UTC) #47
haraken
(I'm not an owner of public/ though.) https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp (right): https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode2 third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp:2: * Copyright ...
4 years, 11 months ago (2016-01-12 23:44:37 UTC) #48
esprehn
lgtm w/ the friends removed. I'd rather we moved the GURL converter into blink though. ...
4 years, 11 months ago (2016-01-13 02:02:32 UTC) #49
brettw
https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp (right): https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode48 third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp:48: if (wtfString.is8Bit() && wtfString.containsOnlyASCII()) { The reason I didn't ...
4 years, 11 months ago (2016-01-13 05:40:43 UTC) #50
haraken
https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp File third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp (right): https://codereview.chromium.org/1568073002/diff/140001/third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp#newcode48 third_party/WebKit/Source/platform/exported/WebStringUTF8Adaptor.cpp:48: if (wtfString.is8Bit() && wtfString.containsOnlyASCII()) { On 2016/01/13 05:40:43, brettw ...
4 years, 11 months ago (2016-01-13 05:55:39 UTC) #51
brettw
> Just help me understand: Why can't we include wtf/StringUTF8Adaptor.h in > public/platform/? public/platform/ already ...
4 years, 11 months ago (2016-01-13 06:31:38 UTC) #52
haraken
On 2016/01/13 06:31:38, brettw wrote: > > Just help me understand: Why can't we include ...
4 years, 11 months ago (2016-01-13 07:14:42 UTC) #53
brettw
I made a new file in platform for the conversion function. This removes the WebStringUTF8Adaptor. ...
4 years, 11 months ago (2016-01-13 18:52:47 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/180001
4 years, 11 months ago (2016-01-13 18:53:09 UTC) #56
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/52096)
4 years, 11 months ago (2016-01-13 18:58:56 UTC) #58
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/200001
4 years, 11 months ago (2016-01-13 19:21:18 UTC) #60
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/145086)
4 years, 11 months ago (2016-01-13 19:49:46 UTC) #62
haraken
Looks much nicer! LGTM
4 years, 11 months ago (2016-01-13 23:59:37 UTC) #63
haraken
https://codereview.chromium.org/1568073002/diff/200001/third_party/WebKit/public/platform/URLConversion.h File third_party/WebKit/public/platform/URLConversion.h (right): https://codereview.chromium.org/1568073002/diff/200001/third_party/WebKit/public/platform/URLConversion.h#newcode19 third_party/WebKit/public/platform/URLConversion.h:19: Unnecessary empty line.
4 years, 11 months ago (2016-01-13 23:59:49 UTC) #64
esprehn
lgtm, btw this still does a needless string copy inside GURL because of using the ...
4 years, 11 months ago (2016-01-14 01:47:59 UTC) #65
brettw
On 2016/01/14 01:47:59, esprehn wrote: > lgtm, btw this still does a needless string copy ...
4 years, 11 months ago (2016-01-17 18:03:33 UTC) #66
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/220001
4 years, 11 months ago (2016-01-19 21:29:13 UTC) #68
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/146846)
4 years, 11 months ago (2016-01-19 22:05:48 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/240001
4 years, 11 months ago (2016-01-19 22:38:21 UTC) #72
brettw
Note: I added an empty check to the beginning of the new WebStringToGURL function since ...
4 years, 11 months ago (2016-01-19 22:39:58 UTC) #73
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/168157)
4 years, 11 months ago (2016-01-19 23:18:36 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568073002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568073002/260001
4 years, 11 months ago (2016-01-19 23:53:02 UTC) #78
ojan
On 2016/01/17 at 18:03:33, brettw wrote: > On 2016/01/14 01:47:59, esprehn wrote: > > lgtm, ...
4 years, 11 months ago (2016-01-20 00:09:56 UTC) #79
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 11 months ago (2016-01-20 01:49:26 UTC) #81
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/dfbcc3b7926990bbf5232112261f2ad9d8616e79 Cr-Commit-Position: refs/heads/master@{#370274}
4 years, 11 months ago (2016-01-20 01:51:15 UTC) #83
Anand Mistry (off Chromium)
On 2016/01/20 01:51:15, commit-bot: I haz the power wrote: > Patchset 14 (id:??) landed as ...
4 years, 11 months ago (2016-01-20 02:54:51 UTC) #84
brettw
4 years, 11 months ago (2016-01-20 06:20:57 UTC) #85
Message was sent while issue was closed.
I don't have those files in my checkout. Whoever's sherriffing that downstream
bot should change
  GURL gurl(url);
to
  GURL gurl(url.get())

Powered by Google App Engine
This is Rietveld 408576698