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

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

Issue 636483002: Replace OVERRIDE and FINAL with override and final in content/gpu/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_watchdog_thread.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_IN_PROCESS_GPU_THREAD_H_ 5 #ifndef CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_
6 #define CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ 6 #define CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_
7 7
8 #include "base/threading/thread.h" 8 #include "base/threading/thread.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class GpuProcess; 13 class GpuProcess;
14 14
15 // This class creates a GPU thread (instead of a GPU process), when running 15 // This class creates a GPU thread (instead of a GPU process), when running
16 // with --in-process-gpu or --single-process. 16 // with --in-process-gpu or --single-process.
17 class InProcessGpuThread : public base::Thread { 17 class InProcessGpuThread : public base::Thread {
18 public: 18 public:
19 explicit InProcessGpuThread(const std::string& channel_id); 19 explicit InProcessGpuThread(const std::string& channel_id);
20 virtual ~InProcessGpuThread(); 20 virtual ~InProcessGpuThread();
21 21
22 protected: 22 protected:
23 virtual void Init() OVERRIDE; 23 virtual void Init() override;
24 virtual void CleanUp() OVERRIDE; 24 virtual void CleanUp() override;
25 25
26 private: 26 private:
27 std::string channel_id_; 27 std::string channel_id_;
28 // Deleted in CleanUp() on the gpu thread, so don't use smart pointers. 28 // Deleted in CleanUp() on the gpu thread, so don't use smart pointers.
29 GpuProcess* gpu_process_; 29 GpuProcess* gpu_process_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(InProcessGpuThread); 31 DISALLOW_COPY_AND_ASSIGN(InProcessGpuThread);
32 }; 32 };
33 33
34 CONTENT_EXPORT base::Thread* CreateInProcessGpuThread( 34 CONTENT_EXPORT base::Thread* CreateInProcessGpuThread(
35 const std::string& channel_id); 35 const std::string& channel_id);
36 36
37 } // namespace content 37 } // namespace content
38 38
39 #endif // CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_ 39 #endif // CONTENT_GPU_IN_PROCESS_GPU_THREAD_H_
OLDNEW
« no previous file with comments | « content/gpu/gpu_watchdog_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698