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

Side by Side Diff: base/process/process_metrics_ios.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_metrics_freebsd.cc ('k') | base/process/process_metrics_linux.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_metrics.h" 5 #include "base/process/process_metrics.h"
6 6
7 #include <mach/task.h> 7 #include <mach/task.h>
8 #include <stddef.h>
8 9
9 #include "base/logging.h" 10 #include "base/logging.h"
10 11
11 namespace base { 12 namespace base {
12 13
13 namespace { 14 namespace {
14 15
15 bool GetTaskInfo(task_basic_info_64* task_info_data) { 16 bool GetTaskInfo(task_basic_info_64* task_info_data) {
16 mach_msg_type_number_t count = TASK_BASIC_INFO_64_COUNT; 17 mach_msg_type_number_t count = TASK_BASIC_INFO_64_COUNT;
17 kern_return_t kr = task_info(mach_task_self(), 18 kern_return_t kr = task_info(mach_task_self(),
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 } 89 }
89 90
90 // Bytes committed by the system. 91 // Bytes committed by the system.
91 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) { 92 bool GetSystemMemoryInfo(SystemMemoryInfoKB* meminfo) {
92 // Unimplemented. Must enable unittest for IOS when this gets implemented. 93 // Unimplemented. Must enable unittest for IOS when this gets implemented.
93 NOTIMPLEMENTED(); 94 NOTIMPLEMENTED();
94 return false; 95 return false;
95 } 96 }
96 97
97 } // namespace base 98 } // namespace base
OLDNEW
« no previous file with comments | « base/process/process_metrics_freebsd.cc ('k') | base/process/process_metrics_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698