Improve symbol_extractor.CreateNameToSymbolInfo handling of duplicate symbols.
[chromium-blink-merge.git] / base / process / process_handle_posix.cc
blob4e332df1a0f64deb288f1e579baf9f9fb3d85ad2
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/process/process_handle.h"
7 #include <unistd.h>
9 namespace base {
11 ProcessId GetCurrentProcId() {
12 return getpid();
15 ProcessHandle GetCurrentProcessHandle() {
16 return GetCurrentProcId();
19 ProcessId GetProcId(ProcessHandle process) {
20 return process;
23 } // namespace base