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

Side by Side Diff: content/gpu/gpu_process.h

Issue 1690173004: content: Increase thread priority for display critical IO threads on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl format Created 4 years, 10 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
« no previous file with comments | « content/gpu/gpu_main.cc ('k') | content/gpu/gpu_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_GPU_GPU_PROCESS_H_ 5 #ifndef CONTENT_GPU_GPU_PROCESS_H_
6 #define CONTENT_GPU_GPU_PROCESS_H_ 6 #define CONTENT_GPU_GPU_PROCESS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/child/child_process.h" 9 #include "content/child/child_process.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class GpuProcess : public ChildProcess { 13 class GpuProcess : public ChildProcess {
14 public: 14 public:
15 GpuProcess(); 15 explicit GpuProcess(base::ThreadPriority io_thread_priority);
16 ~GpuProcess() override; 16 ~GpuProcess() override;
17 17
18 private: 18 private:
19 DISALLOW_COPY_AND_ASSIGN(GpuProcess); 19 DISALLOW_COPY_AND_ASSIGN(GpuProcess);
20 }; 20 };
21 21
22 } 22 }
23 23
24 #endif // CONTENT_GPU_GPU_PROCESS_H_ 24 #endif // CONTENT_GPU_GPU_PROCESS_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_main.cc ('k') | content/gpu/gpu_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698