| Index: components/metrics/leak_detector/leak_detector.h
|
| diff --git a/components/metrics/leak_detector/leak_detector.h b/components/metrics/leak_detector/leak_detector.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..df5eeb7789b2122506dbb6d0578e54fb40d582ad
|
| --- /dev/null
|
| +++ b/components/metrics/leak_detector/leak_detector.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_
|
| +#define COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_
|
| +
|
| +#include <stdint.h>
|
| +
|
| +namespace leak_detector {
|
| +
|
| +class LeakDetector {
|
| + public:
|
| + // Singleton management functions.
|
| + static void Initialize();
|
| + static void Shutdown();
|
| + static bool IsInitialized();
|
| +};
|
| +
|
| +} // namespace leak_detector
|
| +
|
| +#endif // COMPONENTS_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_H_
|
|
|