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

Issue 151133002: libaddressinput - one less copy when downloading data (Closed)

Created:
6 years, 10 months ago by Evan Stade
Modified:
6 years, 10 months ago
Reviewers:
Dan Beam, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

libaddressinput - one less copy when downloading data BUG=337679 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248561

Patch Set 1 #

Patch Set 2 : move ownership of urlfetcher #

Total comments: 5

Patch Set 3 : checks #

Total comments: 6

Patch Set 4 : fix destruction order #

Patch Set 5 : re-up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -10 lines) Patch
M net/url_request/test_url_fetcher_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/test_url_fetcher_factory.cc View 1 2 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_downloader_impl.h View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M third_party/libaddressinput/chromium/chrome_downloader_impl.cc View 1 2 chunks +47 lines, -7 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
Evan Stade
For context, libaddressinput downloads one potentially large block of data, which I'd like to avoid ...
6 years, 10 months ago (2014-01-31 03:51:26 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc File net/url_request/test_url_fetcher_factory.cc (right): https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc#newcode163 net/url_request/test_url_fetcher_factory.cc:163: scoped_refptr<IOBuffer> buffer = new StringIOBuffer(fake_response_string_); pedantic nit: buffer(new StringIOBuffer(...)) ...
6 years, 10 months ago (2014-01-31 21:03:17 UTC) #2
Evan Stade
https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc File net/url_request/test_url_fetcher_factory.cc (right): https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc#newcode166 net/url_request/test_url_fetcher_factory.cc:166: CompletionCallback()); On 2014/01/31 21:03:17, Ryan Sleevi wrote: > This ...
6 years, 10 months ago (2014-01-31 22:24:57 UTC) #3
Ryan Sleevi
On 2014/01/31 22:24:57, Evan Stade wrote: > https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc > File net/url_request/test_url_fetcher_factory.cc (right): > > https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc#newcode166 ...
6 years, 10 months ago (2014-01-31 22:31:16 UTC) #4
Evan Stade
https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc File net/url_request/test_url_fetcher_factory.cc (right): https://codereview.chromium.org/151133002/diff/20001/net/url_request/test_url_fetcher_factory.cc#newcode163 net/url_request/test_url_fetcher_factory.cc:163: scoped_refptr<IOBuffer> buffer = new StringIOBuffer(fake_response_string_); On 2014/01/31 21:03:17, Ryan ...
6 years, 10 months ago (2014-01-31 22:56:46 UTC) #5
Ryan Sleevi
net/ LGTM, although I'm a little surprised that you're optimizing down to the string level. ...
6 years, 10 months ago (2014-02-01 00:46:33 UTC) #6
Evan Stade
On 2014/02/01 00:46:33, Ryan Sleevi wrote: > net/ LGTM, although I'm a little surprised that ...
6 years, 10 months ago (2014-02-01 00:48:11 UTC) #7
Evan Stade
+dbeam for libaddressinput
6 years, 10 months ago (2014-02-01 00:48:24 UTC) #8
Dan Beam
small questions before lg https://codereview.chromium.org/151133002/diff/80001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc File third_party/libaddressinput/chromium/chrome_downloader_impl.cc (right): https://codereview.chromium.org/151133002/diff/80001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc#newcode22 third_party/libaddressinput/chromium/chrome_downloader_impl.cc:22: class UnownedStringWriter : public net::URLFetcherResponseWriter ...
6 years, 10 months ago (2014-02-01 00:53:33 UTC) #9
Evan Stade
https://codereview.chromium.org/151133002/diff/80001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc File third_party/libaddressinput/chromium/chrome_downloader_impl.cc (right): https://codereview.chromium.org/151133002/diff/80001/third_party/libaddressinput/chromium/chrome_downloader_impl.cc#newcode22 third_party/libaddressinput/chromium/chrome_downloader_impl.cc:22: class UnownedStringWriter : public net::URLFetcherResponseWriter { On 2014/02/01 00:53:33, ...
6 years, 10 months ago (2014-02-01 01:02:15 UTC) #10
Dan Beam
lgtm
6 years, 10 months ago (2014-02-01 01:03:29 UTC) #11
Dan Beam
lgtm
6 years, 10 months ago (2014-02-01 01:07:36 UTC) #12
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-01 01:07:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/151133002/410002
6 years, 10 months ago (2014-02-01 01:08:46 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 01:25:52 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=221856
6 years, 10 months ago (2014-02-01 01:25:52 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:25:55 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:26:02 UTC) #18
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-01 02:19:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/151133002/410002
6 years, 10 months ago (2014-02-01 02:19:24 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 02:49:57 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 10 months ago (2014-02-01 02:49:57 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:50:02 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:50:05 UTC) #24
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-01 03:03:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/151133002/410002
6 years, 10 months ago (2014-02-01 03:04:16 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:04:52 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:04:54 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:04:55 UTC) #29
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-01 03:05:00 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/151133002/840001
6 years, 10 months ago (2014-02-01 03:05:13 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 03:20:15 UTC) #32
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, chromedriver_unittests, components_unittests, ...
6 years, 10 months ago (2014-02-01 03:20:15 UTC) #33
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:20:15 UTC) #34
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 03:20:23 UTC) #35
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-03 17:32:52 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/151133002/840001
6 years, 10 months ago (2014-02-03 17:33:28 UTC) #37
commit-bot: I haz the power
Change committed as 248561
6 years, 10 months ago (2014-02-03 20:10:59 UTC) #38
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 20:11:07 UTC) #39
commit-bot: I haz the power
6 years, 10 months ago (2014-02-03 20:11:08 UTC) #40
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698