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

Side by Side Diff: cc/blimp/remote_compositor_bridge.h

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: and more! Created 4 years, 1 month 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_ 5 #ifndef CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_
6 #define CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_ 6 #define CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/single_thread_task_runner.h"
10 #include "cc/base/cc_export.h" 11 #include "cc/base/cc_export.h"
11 12
12 namespace base { 13 namespace cc {
13 class SingleThreadTaskRunner;
14 } // namespace base
15 14
16 namespace cc {
17 class CompositorProtoState; 15 class CompositorProtoState;
18 class RemoteCompositorBridgeClient; 16 class RemoteCompositorBridgeClient;
19 17
20 // The RemoteCompositorBridge is the remote LTH's communication bridge to the 18 // The RemoteCompositorBridge is the remote LTH's communication bridge to the
21 // compositor on the client that consumes the CompositorProtoState updates and 19 // compositor on the client that consumes the CompositorProtoState updates and
22 // performs the actual compositing work. It is responsible for scheduling 20 // performs the actual compositing work. It is responsible for scheduling
23 // when a state update should be sent to the client and providing back 21 // when a state update should be sent to the client and providing back
24 // mutations made to the state on the client. 22 // mutations made to the state on the client.
25 class CC_EXPORT RemoteCompositorBridge { 23 class CC_EXPORT RemoteCompositorBridge {
26 public: 24 public:
(...skipping 18 matching lines...) Expand all
45 protected: 43 protected:
46 // The task runner for the compositor's main thread. The 44 // The task runner for the compositor's main thread. The
47 // RemoteCompositorBridgeClient must be called on this task runner. 45 // RemoteCompositorBridgeClient must be called on this task runner.
48 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner_; 46 scoped_refptr<base::SingleThreadTaskRunner> compositor_main_task_runner_;
49 47
50 private: 48 private:
51 DISALLOW_COPY_AND_ASSIGN(RemoteCompositorBridge); 49 DISALLOW_COPY_AND_ASSIGN(RemoteCompositorBridge);
52 }; 50 };
53 51
54 } // namespace cc 52 } // namespace cc
53
55 #endif // CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_ 54 #endif // CC_BLIMP_REMOTE_COMPOSITOR_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698