 Chromium Code Reviews
 Chromium Code Reviews Issue 7583049:
  Record UMA statistics for file_stream operations.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 7583049:
  Record UMA statistics for file_stream operations.  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| Index: net/base/file_stream.h | 
| diff --git a/net/base/file_stream.h b/net/base/file_stream.h | 
| index da42afb944603336fd170ae90016f2cd95633b62..8003dc9d3db01165bd83eee6b29caeeddb85b251 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. | 
| int Flush(); | 
| + // Turns on UMA error statistics gathering. | 
| + void EnableRecording(); | 
| 
cbentzel
2011/08/16 13:36:02
Nit: EnableErrorRecording? or EnableErrorReporting
 
ahendrickson
2011/08/17 20:12:04
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); | 
| }; |