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

Side by Side Diff: content/browser/renderer_host/pepper/browser_ppapi_host_impl.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/browser/renderer_host/pepper/browser_ppapi_host_impl.h" 5 #include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h"
6 6
7 #include "base/metrics/sparse_histogram.h" 7 #include "base/metrics/sparse_histogram.h"
8 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" 8 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
9 #include "content/browser/tracing/trace_message_filter.h" 9 #include "content/browser/tracing/trace_message_filter.h"
10 #include "content/common/pepper_renderer_instance_data.h" 10 #include "content/common/pepper_renderer_instance_data.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 if (!ppapi_host_) 204 if (!ppapi_host_)
205 return false; 205 return false;
206 206
207 bool handled = true; 207 bool handled = true;
208 IPC_BEGIN_MESSAGE_MAP(BrowserPpapiHostImpl::HostMessageFilter, msg) 208 IPC_BEGIN_MESSAGE_MAP(BrowserPpapiHostImpl::HostMessageFilter, msg)
209 // Add necessary message handlers here. 209 // Add necessary message handlers here.
210 IPC_MESSAGE_HANDLER(PpapiHostMsg_Keepalive, OnKeepalive) 210 IPC_MESSAGE_HANDLER(PpapiHostMsg_Keepalive, OnKeepalive)
211 IPC_MESSAGE_HANDLER(PpapiHostMsg_LogInterfaceUsage, 211 IPC_MESSAGE_HANDLER(PpapiHostMsg_LogInterfaceUsage,
212 OnHostMsgLogInterfaceUsage) 212 OnHostMsgLogInterfaceUsage)
213 IPC_MESSAGE_UNHANDLED(handled = ppapi_host_->OnMessageReceived(msg)) 213 IPC_MESSAGE_UNHANDLED(handled = ppapi_host_->OnMessageReceived(msg))
214 IPC_END_MESSAGE_MAP(); 214 IPC_END_MESSAGE_MAP()
215 return handled; 215 return handled;
216 } 216 }
217 217
218 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() { 218 void BrowserPpapiHostImpl::HostMessageFilter::OnHostDestroyed() {
219 DCHECK(ppapi_host_); 219 DCHECK(ppapi_host_);
220 ppapi_host_ = NULL; 220 ppapi_host_ = NULL;
221 browser_ppapi_host_impl_ = NULL; 221 browser_ppapi_host_impl_ = NULL;
222 } 222 }
223 223
224 BrowserPpapiHostImpl::HostMessageFilter::~HostMessageFilter() {} 224 BrowserPpapiHostImpl::HostMessageFilter::~HostMessageFilter() {}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 instance->second->renderer_data.render_frame_id; 264 instance->second->renderer_data.render_frame_id;
265 instance_data[i].document_url = 265 instance_data[i].document_url =
266 instance->second->renderer_data.document_url; 266 instance->second->renderer_data.document_url;
267 ++instance; 267 ++instance;
268 ++i; 268 ++i;
269 } 269 }
270 on_keepalive_callback_.Run(instance_data, profile_data_directory_); 270 on_keepalive_callback_.Run(instance_data, profile_data_directory_);
271 } 271 }
272 272
273 } // namespace content 273 } // namespace content
OLDNEW
« no previous file with comments | « components/nacl/renderer/trusted_plugin_channel.cc ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698