Chromium Code Reviews| Index: runtime/vm/os_android.cc |
| =================================================================== |
| --- runtime/vm/os_android.cc (revision 27712) |
| +++ runtime/vm/os_android.cc (working copy) |
| @@ -189,6 +189,11 @@ |
| } |
| +intptr_t OS::ProcessId() { |
| + return static_cast<intptr_t>(getpid()); |
| +} |
| + |
| + |
| static bool LocalTime(int64_t seconds_since_epoch, tm* tm_result) { |
| time_t seconds = static_cast<time_t>(seconds_since_epoch); |
| if (seconds != seconds_since_epoch) return false; |