| Index: third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| diff --git a/third_party/WebKit/Source/modules/fetch/BytesConsumer.h b/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| index d822e752df476febb9e598f6952d587187f2a366..894cfb71a87de559dfdebbea6fe029f5757c64e2 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| +++ b/third_party/WebKit/Source/modules/fetch/BytesConsumer.h
|
| @@ -56,9 +56,11 @@ public:
|
| public:
|
| virtual ~Client() {}
|
|
|
| - // This function is called when the state changes. This function can
|
| - // be called more than needed, i.e., it can be called even when the
|
| - // state is not actually changed.
|
| + // This function is called when the state changes (e.g., readable =>
|
| + // errored). This function can be called more than needed, i.e., it can
|
| + // be called even when the state is not actually changed, but it is
|
| + // guaranteed that this function cannot be called after the state
|
| + // becomes closed or errored.
|
| //
|
| // This function is not called when the state change is trigerred by
|
| // public methods called by a user. For example, when a user reads
|
|
|