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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « content/common/resource_dispatcher.h ('k') | content/gpu/gpu_process.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 public: 40 public:
41 #if defined(OS_WIN) 41 #if defined(OS_WIN)
42 explicit GpuChildThread(sandbox::TargetServices* target_services); 42 explicit GpuChildThread(sandbox::TargetServices* target_services);
43 #else 43 #else
44 GpuChildThread(); 44 GpuChildThread();
45 #endif 45 #endif
46 46
47 // For single-process mode. 47 // For single-process mode.
48 explicit GpuChildThread(const std::string& channel_id); 48 explicit GpuChildThread(const std::string& channel_id);
49 49
50 ~GpuChildThread(); 50 virtual ~GpuChildThread();
51 51
52 void Init(const base::Time& process_start_time); 52 void Init(const base::Time& process_start_time);
53 void StopWatchdog(); 53 void StopWatchdog();
54 54
55 // ChildThread overrides. 55 // ChildThread overrides.
56 virtual bool Send(IPC::Message* msg); 56 virtual bool Send(IPC::Message* msg);
57 virtual bool OnControlMessageReceived(const IPC::Message& msg); 57 virtual bool OnControlMessageReceived(const IPC::Message& msg);
58 58
59 private: 59 private:
60 // Message handlers. 60 // Message handlers.
(...skipping 21 matching lines...) Expand all
82 82
83 scoped_ptr<GpuChannelManager> gpu_channel_manager_; 83 scoped_ptr<GpuChannelManager> gpu_channel_manager_;
84 84
85 // Information about the GPU, such as device and vendor ID. 85 // Information about the GPU, such as device and vendor ID.
86 GPUInfo gpu_info_; 86 GPUInfo gpu_info_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 88 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
89 }; 89 };
90 90
91 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 91 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/resource_dispatcher.h ('k') | content/gpu/gpu_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698