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

Side by Side Diff: content/common/gpu/gpu_channel.h

Issue 630853003: Replace OVERRIDE and FINAL with override and final in content/common/[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
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_COMMON_GPU_GPU_CHANNEL_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_H_
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_ 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 base::ProcessId renderer_pid() const { return channel_->GetPeerPID(); } 78 base::ProcessId renderer_pid() const { return channel_->GetPeerPID(); }
79 79
80 int client_id() const { return client_id_; } 80 int client_id() const { return client_id_; }
81 81
82 scoped_refptr<base::MessageLoopProxy> io_message_loop() const { 82 scoped_refptr<base::MessageLoopProxy> io_message_loop() const {
83 return io_message_loop_; 83 return io_message_loop_;
84 } 84 }
85 85
86 // IPC::Listener implementation: 86 // IPC::Listener implementation:
87 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 87 virtual bool OnMessageReceived(const IPC::Message& msg) override;
88 virtual void OnChannelError() OVERRIDE; 88 virtual void OnChannelError() override;
89 89
90 // IPC::Sender implementation: 90 // IPC::Sender implementation:
91 virtual bool Send(IPC::Message* msg) OVERRIDE; 91 virtual bool Send(IPC::Message* msg) override;
92 92
93 // Requeue the message that is currently being processed to the beginning of 93 // Requeue the message that is currently being processed to the beginning of
94 // the queue. Used when the processing of a message gets aborted because of 94 // the queue. Used when the processing of a message gets aborted because of
95 // unscheduling conditions. 95 // unscheduling conditions.
96 void RequeueMessage(); 96 void RequeueMessage();
97 97
98 // This is called when a command buffer transitions from the unscheduled 98 // This is called when a command buffer transitions from the unscheduled
99 // state to the scheduled state, which potentially means the channel 99 // state to the scheduled state, which potentially means the channel
100 // transitions from the unscheduled to the scheduled state. When this occurs 100 // transitions from the unscheduled to the scheduled state. When this occurs
101 // deferred IPC messaged are handled. 101 // deferred IPC messaged are handled.
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // that any WeakPtrs to Controller are invalidated before its members 223 // that any WeakPtrs to Controller are invalidated before its members
224 // variable's destructors are executed, rendering them invalid. 224 // variable's destructors are executed, rendering them invalid.
225 base::WeakPtrFactory<GpuChannel> weak_factory_; 225 base::WeakPtrFactory<GpuChannel> weak_factory_;
226 226
227 DISALLOW_COPY_AND_ASSIGN(GpuChannel); 227 DISALLOW_COPY_AND_ASSIGN(GpuChannel);
228 }; 228 };
229 229
230 } // namespace content 230 } // namespace content
231 231
232 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_ 232 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/gpu_video_encode_accelerator_host.h ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698