| Index: net/base/file_stream.h
|
| diff --git a/net/base/file_stream.h b/net/base/file_stream.h
|
| index a58557c754fff12b5ae3d12bb9643d0944ea9240..0a800b46d7f04ac2d7c8642ea703166f5223db86 100644
|
| --- a/net/base/file_stream.h
|
| +++ b/net/base/file_stream.h
|
| @@ -132,6 +132,9 @@ class NET_EXPORT FileStream {
|
| // This method should not be called if the stream was opened READ_ONLY.
|
| virtual int Flush();
|
|
|
| + // Turns on UMA error statistics gathering.
|
| + void EnableErrorStatistics();
|
| +
|
| private:
|
| class AsyncContext;
|
| friend class AsyncContext;
|
| @@ -143,6 +146,7 @@ class NET_EXPORT FileStream {
|
| base::PlatformFile file_;
|
| int open_flags_;
|
| bool auto_closed_;
|
| + bool record_uma_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FileStream);
|
| };
|
|
|