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

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: Rebase Created 3 years, 6 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.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(
21 InterfaceProvider* interface_provider);
22 virtual ~FrameResourceCoordinator();
23
24 DECLARE_TRACE();
25
26 private:
27 explicit FrameResourceCoordinator(InterfaceProvider* interface_provider);
28
29 resource_coordinator::mojom::CoordinationUnitPtr service_;
30 };
31
32 } // namespace blink
33
34 #endif // FrameResourceCoordinator_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698