Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_ | |
| 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_ | |
| 7 | |
| 8 #include <stdint.h> | |
| 9 | |
| 10 namespace leak_detector { | |
| 11 | |
| 12 class LeakDetector { | |
| 13 public: | |
| 14 // Singleton management functions. | |
|
jar (doing other things)
2015/08/21 02:48:42
nit: This sure looks like a namespace, rather than
Simon Que
2015/08/21 05:44:05
I haven't seen many modules in Chrome that weren't
Simon Que
2015/08/23 23:30:53
Done.
| |
| 15 static void Initialize(); | |
| 16 static void Shutdown(); | |
| 17 static bool IsInitialized(); | |
| 18 }; | |
| 19 | |
| 20 } // namespace leak_detector | |
| 21 | |
| 22 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_ | |
| OLD | NEW |