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

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

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.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
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/platform_macos.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) 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_PLATFORM_H_ 5 #ifndef BIN_PLATFORM_H_
6 #define BIN_PLATFORM_H_ 6 #define BIN_PLATFORM_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 9
10
11 namespace dart { 10 namespace dart {
12 namespace bin { 11 namespace bin {
13 12
14 class Platform { 13 class Platform {
15 public: 14 public:
16 // Perform platform specific initialization. 15 // Perform platform specific initialization.
17 static bool Initialize(); 16 static bool Initialize();
18 17
19 // Returns the number of processors on the machine. 18 // Returns the number of processors on the machine.
20 static int NumberOfProcessors(); 19 static int NumberOfProcessors();
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 static char** argv_; // VM flags are argv_[1 ... script_index_ - 1] 77 static char** argv_; // VM flags are argv_[1 ... script_index_ - 1]
79 78
80 DISALLOW_ALLOCATION(); 79 DISALLOW_ALLOCATION();
81 DISALLOW_IMPLICIT_CONSTRUCTORS(Platform); 80 DISALLOW_IMPLICIT_CONSTRUCTORS(Platform);
82 }; 81 };
83 82
84 } // namespace bin 83 } // namespace bin
85 } // namespace dart 84 } // namespace dart
86 85
87 #endif // BIN_PLATFORM_H_ 86 #endif // BIN_PLATFORM_H_
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/platform_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698