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_PROCESS_INFO_H_ | 5 #ifndef BASE_PROCESS_PROCESS_INFO_H_ |
6 #define BASE_PROCESS_PROCESS_INFO_H_ | 6 #define BASE_PROCESS_PROCESS_INFO_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 #include "base/basictypes.h" | |
10 #include "build/build_config.h" | 9 #include "build/build_config.h" |
11 | 10 |
12 namespace base { | 11 namespace base { |
13 | 12 |
14 class Time; | 13 class Time; |
15 | 14 |
16 // Vends information about the current process. | 15 // Vends information about the current process. |
17 class BASE_EXPORT CurrentProcessInfo { | 16 class BASE_EXPORT CurrentProcessInfo { |
18 public: | 17 public: |
19 // Returns the time at which the process was launched. May be empty if an | 18 // Returns the time at which the process was launched. May be empty if an |
(...skipping 15 matching lines...) Expand all Loading... |
35 // underlying system failure. | 34 // underlying system failure. |
36 BASE_EXPORT IntegrityLevel GetCurrentProcessIntegrityLevel(); | 35 BASE_EXPORT IntegrityLevel GetCurrentProcessIntegrityLevel(); |
37 | 36 |
38 #endif // defined(OS_WIN) | 37 #endif // defined(OS_WIN) |
39 | 38 |
40 | 39 |
41 | 40 |
42 } // namespace base | 41 } // namespace base |
43 | 42 |
44 #endif // BASE_PROCESS_PROCESS_INFO_H_ | 43 #endif // BASE_PROCESS_PROCESS_INFO_H_ |
OLD | NEW |