| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_METRICS_LEAK_DETECTOR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_METRICS_LEAK_DETECTOR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
| 12 #include "components/metrics/leak_detector/leak_detector.h" | 12 #include "components/metrics/leak_detector/leak_detector.h" |
| 13 #include "components/metrics/proto/memory_leak_report.pb.h" | 13 #include "components/metrics/proto/memory_leak_report.pb.h" |
| 14 | 14 |
| 15 namespace metrics { | 15 namespace metrics { |
| 16 | 16 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 const MemoryLeakReportProto::Params params_; | 39 const MemoryLeakReportProto::Params params_; |
| 40 | 40 |
| 41 // For thread safety. | 41 // For thread safety. |
| 42 base::ThreadChecker thread_checker_; | 42 base::ThreadChecker thread_checker_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(LeakDetectorController); | 44 DISALLOW_COPY_AND_ASSIGN(LeakDetectorController); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace metrics | 47 } // namespace metrics |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_METRICS_LEAK_DETECTOR_CONTROLLER_H_ | 49 #endif // CHROME_BROWSER_METRICS_LEAK_DETECTOR_LEAK_DETECTOR_CONTROLLER_H_ |
| OLD | NEW |