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

Side by Side Diff: runtime/bin/fdutils.h

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Windows fixes 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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef BIN_FDUTILS_H_ 5 #ifndef BIN_FDUTILS_H_
6 #define BIN_FDUTILS_H_ 6 #define BIN_FDUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "platform/globals.h" 9 #include "platform/globals.h"
10 10
11
12 namespace dart { 11 namespace dart {
13 namespace bin { 12 namespace bin {
14 13
15 class FDUtils { 14 class FDUtils {
16 public: 15 public:
17 static bool SetCloseOnExec(intptr_t fd); 16 static bool SetCloseOnExec(intptr_t fd);
18 17
19 static bool SetNonBlocking(intptr_t fd); 18 static bool SetNonBlocking(intptr_t fd);
20 static bool SetBlocking(intptr_t fd); 19 static bool SetBlocking(intptr_t fd);
21 20
(...skipping 20 matching lines...) Expand all
42 41
43 private: 42 private:
44 DISALLOW_ALLOCATION(); 43 DISALLOW_ALLOCATION();
45 DISALLOW_IMPLICIT_CONSTRUCTORS(FDUtils); 44 DISALLOW_IMPLICIT_CONSTRUCTORS(FDUtils);
46 }; 45 };
47 46
48 } // namespace bin 47 } // namespace bin
49 } // namespace dart 48 } // namespace dart
50 49
51 #endif // BIN_FDUTILS_H_ 50 #endif // BIN_FDUTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698