| Index: chrome/browser/metrics/leak_detector/leak_detector_controller.h
|
| diff --git a/chrome/browser/metrics/leak_detector/leak_detector_controller.h b/chrome/browser/metrics/leak_detector/leak_detector_controller.h
|
| index 59b05ce4d1e3ca186097b34b3ad5a69be5f6bcec..7dabdfb8259e222970705533672bfc965d5f9e96 100644
|
| --- a/chrome/browser/metrics/leak_detector/leak_detector_controller.h
|
| +++ b/chrome/browser/metrics/leak_detector/leak_detector_controller.h
|
| @@ -9,7 +9,6 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/threading/thread_checker.h"
|
| -#include "chrome/browser/metrics/leak_detector/leak_detector_remote_controller.h"
|
| #include "components/metrics/leak_detector/leak_detector.h"
|
| #include "components/metrics/proto/memory_leak_report.pb.h"
|
|
|
| @@ -17,9 +16,7 @@
|
|
|
| // This class initializes the LeakDetector on the browser process and registers
|
| // itself to be notified of leak reports.
|
| -class LeakDetectorController
|
| - : public LeakDetector::Observer,
|
| - public LeakDetectorRemoteController::LocalController {
|
| +class LeakDetectorController : public LeakDetector::Observer {
|
| public:
|
| LeakDetectorController();
|
| ~LeakDetectorController() override;
|
| @@ -32,19 +29,7 @@
|
| // LeakDetector::Observer:
|
| void OnLeaksFound(const std::vector<MemoryLeakReportProto>& reports) override;
|
|
|
| - // LeakDetectorRemoteController::LocalController:
|
| - MemoryLeakReportProto::Params GetParams() const override;
|
| - void SendLeakReports(
|
| - const std::vector<MemoryLeakReportProto>& reports) override;
|
| - void OnRemoteProcessShutdown() override;
|
| -
|
| private:
|
| - // Stores a given array of leak reports in |stored_reports_|. |process_type|
|
| - // is the type of process that generated these reports. The reports must all
|
| - // come from the same process type.
|
| - void StoreLeakReports(const std::vector<MemoryLeakReportProto>& reports,
|
| - MemoryLeakReportProto::ProcessType process_type);
|
| -
|
| // All leak reports received through OnLeakFound() are stored in protobuf
|
| // format.
|
| std::vector<MemoryLeakReportProto> stored_reports_;
|
|
|