// components/metrics/public/mojom/call_stack_profile_collector.mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_TEST_UTILS_H_
#define COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_TEST_UTILS_H_

#include "components/metrics/public/mojom/call_stack_profile_collector.mojom.h"


namespace metrics::mojom {


class  CallStackProfileCollectorInterceptorForTesting : public CallStackProfileCollector {
  virtual CallStackProfileCollector* GetForwardingInterface() = 0;
  void Collect(::base::TimeTicks start_timestamp, ::metrics::mojom::TriggerEvent trigger_event, SampledProfilePtr profile) override;
};
class  CallStackProfileCollectorAsyncWaiter {
 public:
  explicit CallStackProfileCollectorAsyncWaiter(CallStackProfileCollector* proxy);

  CallStackProfileCollectorAsyncWaiter(const CallStackProfileCollectorAsyncWaiter&) = delete;
  CallStackProfileCollectorAsyncWaiter& operator=(const CallStackProfileCollectorAsyncWaiter&) = delete;

  ~CallStackProfileCollectorAsyncWaiter();

 private:
  CallStackProfileCollector* const proxy_;
};




}  // metrics::mojom

#endif  // COMPONENTS_METRICS_PUBLIC_MOJOM_CALL_STACK_PROFILE_COLLECTOR_MOJOM_TEST_UTILS_H_