| Index: third_party/WebKit/Source/platform/instrumentation/resource_coordinator/FrameResourceCoordinator.h
|
| diff --git a/third_party/WebKit/Source/platform/instrumentation/resource_coordinator/FrameResourceCoordinator.h b/third_party/WebKit/Source/platform/instrumentation/resource_coordinator/FrameResourceCoordinator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..23d0d484eaa4372bb7c07abb5fa44efe473651d9
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/instrumentation/resource_coordinator/FrameResourceCoordinator.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2017 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 FrameResourceCoordinator_h
|
| +#define FrameResourceCoordinator_h
|
| +
|
| +#include "platform/heap/Handle.h"
|
| +#include "services/resource_coordinator/public/interfaces/coordination_unit.mojom.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class InterfaceProvider;
|
| +
|
| +class PLATFORM_EXPORT FrameResourceCoordinator final
|
| + : public GarbageCollectedFinalized<FrameResourceCoordinator> {
|
| + WTF_MAKE_NONCOPYABLE(FrameResourceCoordinator);
|
| +
|
| + public:
|
| + static FrameResourceCoordinator* Create(
|
| + InterfaceProvider* interface_provider);
|
| + virtual ~FrameResourceCoordinator();
|
| +
|
| + DECLARE_TRACE();
|
| +
|
| + private:
|
| + explicit FrameResourceCoordinator(InterfaceProvider* interface_provider);
|
| +
|
| + resource_coordinator::mojom::CoordinationUnitPtr service_;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // FrameResourceCoordinator_h
|
|
|