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

Side by Side Diff: chrome/nacl/nacl_launcher_thread.cc

Issue 7230057: Revert 90805 - I am submitting this with LGTMs from agl@ and evanm@. I'm marking this as TBR=jam@... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 | « chrome/nacl/nacl_launcher_thread.h ('k') | chrome/nacl/nacl_listener.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/nacl/nacl_launcher_thread.h" 5 #include "chrome/nacl/nacl_launcher_thread.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/atomicops.h" 9 #include "base/atomicops.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 NaClSetIrtFileDesc(irt_desc); 122 NaClSetIrtFileDesc(irt_desc);
123 } 123 }
124 124
125 scoped_array<NaClHandle> array(new NaClHandle[handles.size()]); 125 scoped_array<NaClHandle> array(new NaClHandle[handles.size()]);
126 for (size_t i = 0; i < handles.size(); i++) { 126 for (size_t i = 0; i < handles.size(); i++) {
127 array[i] = nacl::ToNativeHandle(handles[i]); 127 array[i] = nacl::ToNativeHandle(handles[i]);
128 } 128 }
129 NaClMainForChromium(static_cast<int>(handles.size()), array.get(), 129 NaClMainForChromium(static_cast<int>(handles.size()), array.get(),
130 debug_enabled_); 130 debug_enabled_);
131 } 131 }
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_launcher_thread.h ('k') | chrome/nacl/nacl_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698