OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 FrameResourceCoordinator_h |
| 6 #define FrameResourceCoordinator_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 #include "services/resource_coordinator/public/interfaces/coordination_unit.mojo
m-blink.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class InterfaceProvider; |
| 14 |
| 15 class PLATFORM_EXPORT FrameResourceCoordinator final |
| 16 : public GarbageCollectedFinalized<FrameResourceCoordinator> { |
| 17 WTF_MAKE_NONCOPYABLE(FrameResourceCoordinator); |
| 18 |
| 19 public: |
| 20 static FrameResourceCoordinator* create(InterfaceProvider* interfaceProvider); |
| 21 virtual ~FrameResourceCoordinator(); |
| 22 |
| 23 DECLARE_TRACE(); |
| 24 |
| 25 private: |
| 26 explicit FrameResourceCoordinator(InterfaceProvider* interfaceProvider); |
| 27 |
| 28 resource_coordinator::mojom::blink::CoordinationUnitPtr m_service; |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // FrameResourceCoordinator_h |
OLD | NEW |