New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 671623 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Add documentation explaining relationship between ExperimentalCronetEngine and CronetEngine

Project Member Reported by xunji...@chromium.org, Dec 6 2016

Issue description

It is not clear from the JavaDoc on when to use ExperimentalCronetEngine and when to CronetEngine. We should also explain the relationship between these two classes. There is nothing preventing a consumer from using ExperimentalCronetEngine everywhere, which will defeat the purpose of having a "experimental" prefix.

Ideally, we should guide consumers to cast a CronetEngine to an ExperimentalCronetEngine when they want to use hidden features and not construct an ExperimentalCronetEngine from the start. In that way, it is clear from the call sites that the hidden features are "experimental."
 
Status: Available (was: Untriaged)

Comment 2 by mef@chromium.org, Feb 14 2017

Owner: pauljensen@chromium.org
Status: Assigned (was: Available)
Cc: kapishnikov@chromium.org
Andrei might also have good ideas for documenting the Experimental Builders as he invented them.
Status: Started (was: Assigned)
Took a stab and redoing the experimental documentation: https://codereview.chromium.org/2794823003
Project Member

Comment 5 by bugdroid1@chromium.org, Apr 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/201919d8a8f8351eb79f914d6b88dd0be7cc8821

commit 201919d8a8f8351eb79f914d6b88dd0be7cc8821
Author: pauljensen <pauljensen@chromium.org>
Date: Thu Apr 06 00:37:23 2017

[Cronet] Better document Experimental Cronet classes

Major gists of documentation chagnes:
1. Most Experimental instances should only be accesssed via casts to drive home
   the fact that they aren't meant for general use, only experiemtation.
2. Explain that experimental features may become supported or unsupported.

BUG= 671623 
R=xunjieli,kapishnikov
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester

Review-Url: https://codereview.chromium.org/2794823003
Cr-Commit-Position: refs/heads/master@{#462295}

[modify] https://crrev.com/201919d8a8f8351eb79f914d6b88dd0be7cc8821/components/cronet/android/api/src/org/chromium/net/ExperimentalBidirectionalStream.java
[modify] https://crrev.com/201919d8a8f8351eb79f914d6b88dd0be7cc8821/components/cronet/android/api/src/org/chromium/net/ExperimentalCronetEngine.java
[modify] https://crrev.com/201919d8a8f8351eb79f914d6b88dd0be7cc8821/components/cronet/android/api/src/org/chromium/net/ExperimentalUrlRequest.java

Status: Fixed (was: Started)

Sign in to add a comment