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

Side by Side Diff: content/common/gpu/media/gpu_video_decode_accelerator.cc

Issue 1639713002: Remove superfluous semicolons around IPC message macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 #include "content/common/gpu/media/gpu_video_decode_accelerator.h" 5 #include "content/common/gpu/media/gpu_video_decode_accelerator.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 owner_->OnFilterRemoved(); 96 owner_->OnFilterRemoved();
97 } 97 }
98 98
99 bool OnMessageReceived(const IPC::Message& msg) override { 99 bool OnMessageReceived(const IPC::Message& msg) override {
100 if (msg.routing_id() != host_route_id_) 100 if (msg.routing_id() != host_route_id_)
101 return false; 101 return false;
102 102
103 IPC_BEGIN_MESSAGE_MAP(MessageFilter, msg) 103 IPC_BEGIN_MESSAGE_MAP(MessageFilter, msg)
104 IPC_MESSAGE_FORWARD(AcceleratedVideoDecoderMsg_Decode, owner_, 104 IPC_MESSAGE_FORWARD(AcceleratedVideoDecoderMsg_Decode, owner_,
105 GpuVideoDecodeAccelerator::OnDecode) 105 GpuVideoDecodeAccelerator::OnDecode)
106 IPC_MESSAGE_UNHANDLED(return false;) 106 IPC_MESSAGE_UNHANDLED(return false)
107 IPC_END_MESSAGE_MAP() 107 IPC_END_MESSAGE_MAP()
108 return true; 108 return true;
109 } 109 }
110 110
111 bool SendOnIOThread(IPC::Message* message) { 111 bool SendOnIOThread(IPC::Message* message) {
112 DCHECK(!message->is_sync()); 112 DCHECK(!message->is_sync());
113 if (!sender_) { 113 if (!sender_) {
114 delete message; 114 delete message;
115 return false; 115 return false;
116 } 116 }
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 uncleared_textures_.erase(it); 637 uncleared_textures_.erase(it);
638 } 638 }
639 639
640 void GpuVideoDecodeAccelerator::SendCreateDecoderReply(IPC::Message* message, 640 void GpuVideoDecodeAccelerator::SendCreateDecoderReply(IPC::Message* message,
641 bool succeeded) { 641 bool succeeded) {
642 GpuCommandBufferMsg_CreateVideoDecoder::WriteReplyParams(message, succeeded); 642 GpuCommandBufferMsg_CreateVideoDecoder::WriteReplyParams(message, succeeded);
643 Send(message); 643 Send(message);
644 } 644 }
645 645
646 } // namespace content 646 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698