| 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 #include "base/process/process_info.h" | 5 #include "base/process/process_info.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | |
| 10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 12 #include "base/win/scoped_handle.h" | 11 #include "base/win/scoped_handle.h" |
| 13 #include "base/win/windows_version.h" | 12 #include "base/win/windows_version.h" |
| 14 | 13 |
| 15 namespace base { | 14 namespace base { |
| 16 | 15 |
| 17 // static | 16 // static |
| 18 const Time CurrentProcessInfo::CreationTime() { | 17 const Time CurrentProcessInfo::CreationTime() { |
| 19 FILETIME creation_time = {}; | 18 FILETIME creation_time = {}; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 69 } |
| 71 | 70 |
| 72 if (integrity_level >= SECURITY_MANDATORY_HIGH_RID) | 71 if (integrity_level >= SECURITY_MANDATORY_HIGH_RID) |
| 73 return HIGH_INTEGRITY; | 72 return HIGH_INTEGRITY; |
| 74 | 73 |
| 75 NOTREACHED(); | 74 NOTREACHED(); |
| 76 return INTEGRITY_UNKNOWN; | 75 return INTEGRITY_UNKNOWN; |
| 77 } | 76 } |
| 78 | 77 |
| 79 } // namespace base | 78 } // namespace base |
| OLD | NEW |