Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: third_party/WebKit/Source/platform/instrumentation/resource_coordinator/FrameResourceCoordinator.h

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Buildfixes Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698