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

Side by Side Diff: mojo/nacl/nonsfi/irt_mojo_nonsfi.cc

Issue 1783623005: Add mojo/c/system/{time.h,wait.h}. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/nacl/nonsfi/irt_mojo_nonsfi.h" 5 #include "mojo/nacl/nonsfi/irt_mojo_nonsfi.h"
6 6
7 #include "mojo/public/c/system/functions.h" 7 #include "mojo/public/c/system/buffer.h"
8 #include "mojo/public/c/system/data_pipe.h"
9 #include "mojo/public/c/system/handle.h"
10 #include "mojo/public/c/system/message_pipe.h"
11 #include "mojo/public/c/system/time.h"
12 #include "mojo/public/c/system/wait.h"
8 #include "mojo/public/platform/nacl/mgl_irt.h" 13 #include "mojo/public/platform/nacl/mgl_irt.h"
9 #include "mojo/public/platform/nacl/mojo_irt.h" 14 #include "mojo/public/platform/nacl/mojo_irt.h"
10 #include "native_client/src/public/irt_core.h" 15 #include "native_client/src/public/irt_core.h"
11 #include "native_client/src/untrusted/irt/irt_dev.h" 16 #include "native_client/src/untrusted/irt/irt_dev.h"
12 17
13 namespace { 18 namespace {
14 19
15 MojoHandle g_mojo_handle = MOJO_HANDLE_INVALID; 20 MojoHandle g_mojo_handle = MOJO_HANDLE_INVALID;
16 bool g_running_translator = false; 21 bool g_running_translator = false;
17 22
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void* table, 123 void* table,
119 size_t tablesize) { 124 size_t tablesize) {
120 size_t result = nacl_irt_query_list(interface_ident, table, tablesize, 125 size_t result = nacl_irt_query_list(interface_ident, table, tablesize,
121 kIrtInterfaces, sizeof(kIrtInterfaces)); 126 kIrtInterfaces, sizeof(kIrtInterfaces));
122 if (result != 0) 127 if (result != 0)
123 return result; 128 return result;
124 return nacl_irt_query_core(interface_ident, table, tablesize); 129 return nacl_irt_query_core(interface_ident, table, tablesize);
125 } 130 }
126 131
127 } // namespace nacl 132 } // namespace nacl
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698