| Index: components/memory_coordinator/child/blink_memory_coordinator_client.h
|
| diff --git a/components/memory_coordinator/child/blink_memory_coordinator_client.h b/components/memory_coordinator/child/blink_memory_coordinator_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8dbe65e506225d5b7b36af9ec77646693ac19dc2
|
| --- /dev/null
|
| +++ b/components/memory_coordinator/child/blink_memory_coordinator_client.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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 COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H_
|
| +#define COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H_
|
| +
|
| +#include "components/memory_coordinator/common/memory_coordinator_client.h"
|
| +
|
| +namespace memory_coordinator {
|
| +
|
| +// A MemoryCoordinatorClient for Blink.
|
| +class BlinkMemoryCoordinatorClient : public MemoryCoordinatorClient {
|
| + public:
|
| + BlinkMemoryCoordinatorClient();
|
| + ~BlinkMemoryCoordinatorClient() override;
|
| +
|
| + // MemoryCoordinatorClient implementation:
|
| + void OnMemoryStateChange(mojom::MemoryState state) override;
|
| +};
|
| +
|
| +} // namespace memory_coordinator
|
| +
|
| +#endif // COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H_
|
|
|