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

Side by Side Diff: components/nacl/browser/nacl_process_host.cc

Issue 262803014: Fix typo, "recieve" -> "receive", in NaCl/SDK code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | native_client_sdk/src/examples/api/socket/index.html » ('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) 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 "components/nacl/browser/nacl_process_host.h" 5 #include "components/nacl/browser/nacl_process_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 delete this; 486 delete this;
487 } 487 }
488 488
489 void NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker(bool success) { 489 void NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker(bool success) {
490 IPC::Message* reply = attach_debug_exception_handler_reply_msg_.release(); 490 IPC::Message* reply = attach_debug_exception_handler_reply_msg_.release();
491 NaClProcessMsg_AttachDebugExceptionHandler::WriteReplyParams(reply, success); 491 NaClProcessMsg_AttachDebugExceptionHandler::WriteReplyParams(reply, success);
492 Send(reply); 492 Send(reply);
493 } 493 }
494 #endif 494 #endif
495 495
496 // Needed to handle sync messages in OnMessageRecieved. 496 // Needed to handle sync messages in OnMessageReceived.
497 bool NaClProcessHost::Send(IPC::Message* msg) { 497 bool NaClProcessHost::Send(IPC::Message* msg) {
498 return process_->Send(msg); 498 return process_->Send(msg);
499 } 499 }
500 500
501 bool NaClProcessHost::LaunchNaClGdb() { 501 bool NaClProcessHost::LaunchNaClGdb() {
502 #if defined(OS_WIN) 502 #if defined(OS_WIN)
503 base::FilePath nacl_gdb = 503 base::FilePath nacl_gdb =
504 CommandLine::ForCurrentProcess()->GetSwitchValuePath(switches::kNaClGdb); 504 CommandLine::ForCurrentProcess()->GetSwitchValuePath(switches::kNaClGdb);
505 CommandLine cmd_line(nacl_gdb); 505 CommandLine cmd_line(nacl_gdb);
506 #else 506 #else
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 process_handle.Take(), info, 1092 process_handle.Take(), info,
1093 base::MessageLoopProxy::current(), 1093 base::MessageLoopProxy::current(),
1094 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker, 1094 base::Bind(&NaClProcessHost::OnDebugExceptionHandlerLaunchedByBroker,
1095 weak_factory_.GetWeakPtr())); 1095 weak_factory_.GetWeakPtr()));
1096 return true; 1096 return true;
1097 } 1097 }
1098 } 1098 }
1099 #endif 1099 #endif
1100 1100
1101 } // namespace nacl 1101 } // namespace nacl
OLDNEW
« no previous file with comments | « no previous file | native_client_sdk/src/examples/api/socket/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698