OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H_ |
| 6 #define COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H_ |
| 7 |
| 8 #include "components/memory_coordinator/common/memory_coordinator_client.h" |
| 9 |
| 10 namespace memory_coordinator { |
| 11 |
| 12 // A MemoryCoordinatorClient for Blink. |
| 13 class BlinkMemoryCoordinatorClient : public MemoryCoordinatorClient { |
| 14 public: |
| 15 BlinkMemoryCoordinatorClient(); |
| 16 ~BlinkMemoryCoordinatorClient() override; |
| 17 |
| 18 // MemoryCoordinatorClient implementation: |
| 19 void OnMemoryStateChange(mojom::MemoryState state) override; |
| 20 }; |
| 21 |
| 22 } // namespace memory_coordinator |
| 23 |
| 24 #endif // COMPONENTS_MEMORY_COORDINATOR_CHILD_BLINK_MEMORY_COORDINATOR_CLIENT_H
_ |
OLD | NEW |