Chromium Code Reviews| Index: net/base/connection_type_histograms.cc |
| =================================================================== |
| --- net/base/connection_type_histograms.cc (revision 76254) |
| +++ net/base/connection_type_histograms.cc (working copy) |
| @@ -21,6 +21,11 @@ |
| // Each histogram has an unused bucket at the end to allow seamless future |
| // expansion. |
| void UpdateConnectionTypeHistograms(ConnectionType type) { |
| + // TODO(wtc): 74467 Move these stats up to a higher level, where the explicit |
|
wtc
2011/03/04 21:05:24
Nit: please add "bug" before "74467".
|
| + // static (shown below) and the implicit statics (inside the HISTOGRAM macros) |
| + // will be safe. |
| +#if 0 // Don't do anything for now. |
| + |
| static bool had_connection_type[NUM_OF_CONNECTION_TYPES]; |
| if (type >= 0 && type < NUM_OF_CONNECTION_TYPES) { |
| @@ -35,6 +40,7 @@ |
| } else { |
| NOTREACHED(); // Someone's logging an invalid type! |
| } |
| +#endif // 0 |
| } |
| } // namespace net |