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

Side by Side Diff: ppapi/proxy/plugin_main_nacl.cc

Issue 10959063: nacl: Fix a bunch of compiler warnings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | « ipc/ipc_channel_nacl.cc ('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 (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 <map> 5 #include <map>
6 #include <set> 6 #include <set>
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 // Need to include this before most other files because it defines 9 // Need to include this before most other files because it defines
10 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define 10 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 plugin_dispatchers_.find(id) != plugin_dispatchers_.end()); 129 plugin_dispatchers_.find(id) != plugin_dispatchers_.end());
130 plugin_dispatchers_[id] = plugin_dispatcher; 130 plugin_dispatchers_[id] = plugin_dispatcher;
131 return id; 131 return id;
132 } 132 }
133 133
134 void PpapiDispatcher::Unregister(uint32 plugin_dispatcher_id) { 134 void PpapiDispatcher::Unregister(uint32 plugin_dispatcher_id) {
135 plugin_dispatchers_.erase(plugin_dispatcher_id); 135 plugin_dispatchers_.erase(plugin_dispatcher_id);
136 } 136 }
137 137
138 bool PpapiDispatcher::SendToBrowser(IPC::Message* msg) { 138 bool PpapiDispatcher::SendToBrowser(IPC::Message* msg) {
139 Send(msg); 139 return Send(msg);
140 } 140 }
141 141
142 IPC::Sender* PpapiDispatcher::GetBrowserSender() { 142 IPC::Sender* PpapiDispatcher::GetBrowserSender() {
143 return this; 143 return this;
144 } 144 }
145 145
146 std::string PpapiDispatcher::GetUILanguage() { 146 std::string PpapiDispatcher::GetUILanguage() {
147 NOTIMPLEMENTED(); 147 NOTIMPLEMENTED();
148 return std::string(); 148 return std::string();
149 } 149 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 PpapiDispatcher ppapi_dispatcher(io_thread.message_loop_proxy()); 262 PpapiDispatcher ppapi_dispatcher(io_thread.message_loop_proxy());
263 plugin_globals.set_plugin_proxy_delegate(&ppapi_dispatcher); 263 plugin_globals.set_plugin_proxy_delegate(&ppapi_dispatcher);
264 264
265 loop.Run(); 265 loop.Run();
266 266
267 NaClSrpcModuleFini(); 267 NaClSrpcModuleFini();
268 268
269 return 0; 269 return 0;
270 } 270 }
271 271
OLDNEW
« no previous file with comments | « ipc/ipc_channel_nacl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698