OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 UI_OZONE_PLATFORM_DRI_DRI_HELPER_THREAD_H_ | |
6 #define UI_OZONE_PLATFORM_DRI_DRI_HELPER_THREAD_H_ | |
7 | |
8 #include "base/threading/thread.h" | |
9 | |
10 namespace ui { | |
11 | |
12 class DriHelperThread : public base::Thread { | |
13 public: | |
14 DriHelperThread(); | |
15 ~DriHelperThread() override; | |
16 | |
17 // Call to start the thread. This needs to be called after the GPU entered the | |
18 // sandbox. | |
19 void Initialize(); | |
20 | |
21 private: | |
22 DISALLOW_COPY_AND_ASSIGN(DriHelperThread); | |
23 }; | |
24 | |
25 } // namespace ui | |
26 | |
27 #endif // UI_OZONE_PLATFORM_DRI_DRI_HELPER_THREAD_H_ | |
OLD | NEW |