Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: base/process/process_info_win.cc

Issue 1543293004: Switch to standard integer types in base/process/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ssize_t Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/process/process_info_mac.cc ('k') | base/process/process_iterator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « base/process/process_info_mac.cc ('k') | base/process/process_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698