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

Issue 1237973004: Port more String and HashMap usages (Closed)

Created:
5 years, 5 months ago by Cutch
Modified:
5 years, 5 months ago
Reviewers:
abarth, abarth-chromium
CC:
abarth-chromium, gregsimon, jackson_old, mojo-reviews_chromium.org, qsr+mojo_chromium.org, yzshen+watch_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -53 lines) Patch
M services/sky/dart_library_provider_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/sky/dart_library_provider_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/sky/document_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/script/dart_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/tonic/dart_exception_factory.h View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M sky/engine/tonic/dart_exception_factory.cc View 1 2 2 chunks +91 lines, -11 lines 0 comments Download
M sky/engine/tonic/dart_library_loader.h View 3 chunks +5 lines, -4 lines 0 comments Download
M sky/engine/tonic/dart_library_loader.cc View 8 chunks +22 lines, -20 lines 0 comments Download
M sky/engine/tonic/dart_library_provider.h View 2 chunks +3 lines, -2 lines 0 comments Download
M sky/engine/tonic/dart_snapshot_loader.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/shell/dart/dart_library_provider_files.h View 1 chunk +1 line, -1 line 0 comments Download
M sky/shell/dart/dart_library_provider_files.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M sky/shell/dart/dart_library_provider_network.h View 1 chunk +1 line, -1 line 0 comments Download
M sky/shell/dart/dart_library_provider_network.cc View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Cutch
5 years, 5 months ago (2015-07-15 20:27:41 UTC) #2
abarth-chromium
This is fine except for the slow string building... https://codereview.chromium.org/1237973004/diff/1/sky/engine/tonic/dart_exception_factory.cc File sky/engine/tonic/dart_exception_factory.cc (right): https://codereview.chromium.org/1237973004/diff/1/sky/engine/tonic/dart_exception_factory.cc#newcode23 sky/engine/tonic/dart_exception_factory.cc:23: ...
5 years, 5 months ago (2015-07-15 20:42:52 UTC) #4
Cutch
PTAL
5 years, 5 months ago (2015-07-15 22:01:10 UTC) #5
abarth-chromium
LGTM to unblock your work, but see note below. https://codereview.chromium.org/1237973004/diff/20001/sky/engine/tonic/dart_exception_factory.cc File sky/engine/tonic/dart_exception_factory.cc (right): https://codereview.chromium.org/1237973004/diff/20001/sky/engine/tonic/dart_exception_factory.cc#newcode36 sky/engine/tonic/dart_exception_factory.cc:36: ...
5 years, 5 months ago (2015-07-16 00:02:25 UTC) #6
Cutch
Committed patchset #4 (id:60001) manually as b295cbaadd0e20cbd5332832fa15f7cedaf9fc57 (presubmit successful).
5 years, 5 months ago (2015-07-16 14:31:01 UTC) #7
Cutch
5 years, 5 months ago (2015-07-16 14:31:02 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1237973004/diff/20001/sky/engine/tonic/dart_e...
File sky/engine/tonic/dart_exception_factory.cc (right):

https://codereview.chromium.org/1237973004/diff/20001/sky/engine/tonic/dart_e...
sky/engine/tonic/dart_exception_factory.cc:36: return
CreateException("ArgumentError", message.data());
On 2015/07/16 00:02:24, abarth-chromium wrote:
> So ugly...
> 
> Sorry to get hung up on this issue.  IMHO, the right thing to do here is to
make
> a StdStringBuilder class that can build std::strings in a reasonable way.  If
> you feel like that's out of scope for this CL, I think it would be ok to go
back
> to what you had before with a TODO about using a StdStringBuilder instead.

Done. We can address any follow up comments you have on StdStringBuilder in a
follow up CL.

Powered by Google App Engine
This is Rietveld 408576698