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

Side by Side Diff: runtime/bin/process_fuchsia.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « runtime/bin/process_android.cc ('k') | runtime/bin/process_linux.cc » ('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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if !defined(DART_IO_DISABLED) 5 #if !defined(DART_IO_DISABLED)
6 6
7 #include "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(TARGET_OS_FUCHSIA) 8 #if defined(TARGET_OS_FUCHSIA)
9 9
10 #include "bin/process.h" 10 #include "bin/process.h"
11 11
12 #include "bin/lockers.h" 12 #include "bin/lockers.h"
13 #include "platform/assert.h" 13 #include "platform/assert.h"
14 14
15 15
16 namespace dart { 16 namespace dart {
17 namespace bin { 17 namespace bin {
18 18
19 int Process::global_exit_code_ = 0; 19 int Process::global_exit_code_ = 0;
20 Mutex* Process::global_exit_code_mutex_ = new Mutex(); 20 Mutex* Process::global_exit_code_mutex_ = new Mutex();
21 Process::ExitHook Process::exit_hook_ = NULL; 21 Process::ExitHook Process::exit_hook_ = NULL;
22 22
23 void Process::TerminateExitCodeHandler() { 23 void Process::TerminateExitCodeHandler() {}
24 }
25 24
26 intptr_t Process::CurrentProcessId() { 25 intptr_t Process::CurrentProcessId() {
27 UNIMPLEMENTED(); 26 UNIMPLEMENTED();
28 return 0; 27 return 0;
29 } 28 }
30 29
31 intptr_t Process::SetSignalHandler(intptr_t signal) { 30 intptr_t Process::SetSignalHandler(intptr_t signal) {
32 UNIMPLEMENTED(); 31 UNIMPLEMENTED();
33 return -1; 32 return -1;
34 } 33 }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 UNIMPLEMENTED(); 68 UNIMPLEMENTED();
70 return -1; 69 return -1;
71 } 70 }
72 71
73 } // namespace bin 72 } // namespace bin
74 } // namespace dart 73 } // namespace dart
75 74
76 #endif // defined(TARGET_OS_FUCHSIA) 75 #endif // defined(TARGET_OS_FUCHSIA)
77 76
78 #endif // !defined(DART_IO_DISABLED) 77 #endif // !defined(DART_IO_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/process_android.cc ('k') | runtime/bin/process_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698