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

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

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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
« no previous file with comments | « runtime/bin/directory_win.cc ('k') | runtime/bin/error_exit.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 #include "bin/embedded_dart_io.h" 5 #include "bin/embedded_dart_io.h"
6 6
7 #include "bin/directory.h" 7 #include "bin/directory.h"
8 #include "bin/eventhandler.h" 8 #include "bin/eventhandler.h"
9 #include "bin/platform.h" 9 #include "bin/platform.h"
10 #include "bin/thread.h"
10 #include "bin/utils.h" 11 #include "bin/utils.h"
11 #include "bin/thread.h"
12 12
13 namespace dart { 13 namespace dart {
14 namespace bin { 14 namespace bin {
15 15
16 void BootstrapDartIo() { 16 void BootstrapDartIo() {
17 // Bootstrap 'dart:io' event handler. 17 // Bootstrap 'dart:io' event handler.
18 Thread::InitOnce(); 18 Thread::InitOnce();
19 TimerUtils::InitOnce(); 19 TimerUtils::InitOnce();
20 EventHandler::Start(); 20 EventHandler::Start();
21 } 21 }
22 22
23
24 void SetSystemTempDirectory(const char* system_temp) { 23 void SetSystemTempDirectory(const char* system_temp) {
25 Directory::SetSystemTemp(system_temp); 24 Directory::SetSystemTemp(system_temp);
26 } 25 }
27 26
28
29 void SetExecutableName(const char* executable_name) { 27 void SetExecutableName(const char* executable_name) {
30 Platform::SetExecutableName(executable_name); 28 Platform::SetExecutableName(executable_name);
31 } 29 }
32 30
33
34 void SetExecutableArguments(int script_index, char** argv) { 31 void SetExecutableArguments(int script_index, char** argv) {
35 Platform::SetExecutableArguments(script_index, argv); 32 Platform::SetExecutableArguments(script_index, argv);
36 } 33 }
37 34
38 } // namespace bin 35 } // namespace bin
39 } // namespace dart 36 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/directory_win.cc ('k') | runtime/bin/error_exit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698