OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stddef.h> |
| 6 #include <string> |
| 7 |
| 8 #include "base/file_path.h" |
5 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "build/build_config.h" |
6 | 11 |
7 namespace base { | 12 namespace base { |
8 | 13 |
9 #if defined(OS_POSIX) | 14 #if defined(OS_POSIX) |
10 ProcessEntry::ProcessEntry() {} | 15 ProcessEntry::ProcessEntry() {} |
11 ProcessEntry::~ProcessEntry() {} | 16 ProcessEntry::~ProcessEntry() {} |
12 #endif | 17 #endif |
13 | 18 |
14 int GetProcessCount(const FilePath::StringType& executable_name, | 19 int GetProcessCount(const FilePath::StringType& executable_name, |
15 const ProcessFilter* filter) { | 20 const ProcessFilter* filter) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 NamedProcessIterator::NamedProcessIterator( | 64 NamedProcessIterator::NamedProcessIterator( |
60 const FilePath::StringType& executable_name, | 65 const FilePath::StringType& executable_name, |
61 const ProcessFilter* filter) : ProcessIterator(filter), | 66 const ProcessFilter* filter) : ProcessIterator(filter), |
62 executable_name_(executable_name) { | 67 executable_name_(executable_name) { |
63 } | 68 } |
64 | 69 |
65 NamedProcessIterator::~NamedProcessIterator() { | 70 NamedProcessIterator::~NamedProcessIterator() { |
66 } | 71 } |
67 | 72 |
68 } // namespace base | 73 } // namespace base |
OLD | NEW |