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

Issue 1383023003: [Cronet] Expose HttpURLConnection API from CronetEngine, not classes (Closed)

Created:
5 years, 2 months ago by pauljensen
Modified:
5 years, 2 months ago
Reviewers:
xunjieli
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@builder2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cronet] Expose HttpURLConnection API from CronetEngine, not classes There's no reason to expose these APIs via full-fledged classes and it complicates the Cronet API, so simpy expose three functions on CronetEngine that use the java.net APIs. Also fix a couple tiny javadoc problems: 1) add some missing packages from package-list 2) @hide doesn't work (need doclava) so use @deprecated for now BUG=531538 Committed: https://crrev.com/f09f7804c482794be913d2e7147b8f3c53ba1079 Cr-Commit-Position: refs/heads/master@{#353056}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : hide openConnection with proxy #

Patch Set 4 : rebase and address merge conflicts #

Patch Set 5 : update readme #

Total comments: 6

Patch Set 6 : address nits #

Messages

Total messages: 12 (3 generated)
pauljensen
Helen, PTAL.
5 years, 2 months ago (2015-10-02 15:24:11 UTC) #2
xunjieli
It'll be useful to see if this change increases dex method counts for the sample ...
5 years, 2 months ago (2015-10-02 15:49:06 UTC) #3
pauljensen
Appears to increase dex-count by 7, 6 of which are in org.chromium.net. I dunno if ...
5 years, 2 months ago (2015-10-02 23:39:43 UTC) #4
xunjieli
LGTM. 7, 6 shouldn't be a big deal. Btw, could you also file a bug ...
5 years, 2 months ago (2015-10-05 15:43:49 UTC) #5
pauljensen
On 2015/10/05 15:43:49, xunjieli wrote: > LGTM. 7, 6 shouldn't be a big deal. > ...
5 years, 2 months ago (2015-10-05 18:58:06 UTC) #6
pauljensen
Oops, just realized I forgot to update the readme. Done. PTAL.
5 years, 2 months ago (2015-10-08 00:27:20 UTC) #7
xunjieli
Good catch! LGTM with nits. https://codereview.chromium.org/1383023003/diff/80001/components/cronet/README.md File components/cronet/README.md (right): https://codereview.chromium.org/1383023003/diff/80001/components/cronet/README.md#newcode155 components/cronet/README.md:155: URL.setURLStreamHandlerFactory(engine.createURLStreamHandlerFactory(); nit: missing closing ...
5 years, 2 months ago (2015-10-08 14:17:57 UTC) #8
pauljensen
https://codereview.chromium.org/1383023003/diff/80001/components/cronet/README.md File components/cronet/README.md (right): https://codereview.chromium.org/1383023003/diff/80001/components/cronet/README.md#newcode155 components/cronet/README.md:155: URL.setURLStreamHandlerFactory(engine.createURLStreamHandlerFactory(); On 2015/10/08 14:17:56, xunjieli wrote: > nit: missing ...
5 years, 2 months ago (2015-10-08 14:40:34 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-08 15:02:33 UTC) #12
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f09f7804c482794be913d2e7147b8f3c53ba1079
Cr-Commit-Position: refs/heads/master@{#353056}

Powered by Google App Engine
This is Rietveld 408576698