chromium/chrome/browser/task_manager/task_manager_observer.h

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

#ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_OBSERVER_H_
#define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_OBSERVER_H_

#include <stdint.h>

#include <vector>

#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "build/build_config.h"

namespace task_manager {

class TaskManagerInterface;

TaskId;
TaskIdList;

// Defines a list of types of resources that an observer needs to be refreshed
// on every task manager refresh cycle.
// Note: task_manager.mojom API SetRefreshFlags passes the bit flags
// (|refresh_flags|) of RefreshType as an argument, which requires that
// RefreshType must be stablized. Therefore, we can never reorder or delete
// old types.
enum RefreshType {};

// Defines the interface for observers of the task manager.
class TaskManagerObserver {};

}  // namespace task_manager

#endif  // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_OBSERVER_H_