blob: eadb9b41a5bf4c4a4476b6031328b0a86f82bc9b [file] [log] [blame]
// Copyright 2019 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 CHROME_BROWSER_PERFORMANCE_MANAGER_PERFORMANCE_MANAGER_LOCK_OBSERVER_H_
#define CHROME_BROWSER_PERFORMANCE_MANAGER_PERFORMANCE_MANAGER_LOCK_OBSERVER_H_
#include "content/public/browser/lock_observer.h"
namespace performance_manager {
class PerformanceManagerLockObserver : public content::LockObserver {
public:
PerformanceManagerLockObserver();
~PerformanceManagerLockObserver() override;
// content::LockObserver:
void OnFrameStartsHoldingWebLocks(int render_process_id,
int render_frame_id) override;
void OnFrameStopsHoldingWebLocks(int render_process_id,
int render_frame_id) override;
};
} // namespace performance_manager
#endif // CHROME_BROWSER_PERFORMANCE_MANAGER_PERFORMANCE_MANAGER_LOCK_OBSERVER_H_