OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef BASE_PROCESS_INFO_H_ | 5 #ifndef BASE_PROCESS_INFO_H_ |
6 #define BASE_PROCESS_INFO_H_ | 6 #define BASE_PROCESS_INFO_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/time.h" | |
11 | 10 |
12 namespace base { | 11 namespace base { |
13 | 12 |
| 13 class Time; |
| 14 |
14 // Vends information about the current process. | 15 // Vends information about the current process. |
15 class BASE_EXPORT CurrentProcessInfo { | 16 class BASE_EXPORT CurrentProcessInfo { |
16 public: | 17 public: |
17 // Returns the time at which the process was launched or NULL if an error | 18 // Returns the time at which the process was launched or NULL if an error |
18 // occurred retrieving the information. | 19 // occurred retrieving the information. |
19 static const Time* CreationTime(); | 20 static const Time* CreationTime(); |
20 }; | 21 }; |
21 | 22 |
22 } // namespace base | 23 } // namespace base |
23 | 24 |
24 #endif // BASE_PROCESS_INFO_H_ | 25 #endif // BASE_PROCESS_INFO_H_ |
OLD | NEW |