chromium/components/performance_manager/public/performance_manager_owned.h

// Copyright 2020 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_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_OWNED_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_OWNED_H_

namespace performance_manager {

// Helper class for passing ownership of objects to the PerformanceManager.
// The object is expected to live on the main thread.
class PerformanceManagerOwned {};

// A default implementation of PerformanceManagerOwned.
class PerformanceManagerOwnedDefaultImpl : public PerformanceManagerOwned {};

}  // namespace performance_manager

#endif  // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_PERFORMANCE_MANAGER_OWNED_H_