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

Side by Side Diff: base/process_util_linux.cc

Issue 395009: linux: Remove NOTIMPL cluttering test output (Closed)
Patch Set: Created 11 years, 1 month 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 | « no previous file | no next file » | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_util.h" 5 #include "base/process_util.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 #include <dirent.h> 8 #include <dirent.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 result_in_kb = StringToInt(meminfo_fields[kMemTotalIndex]); 491 result_in_kb = StringToInt(meminfo_fields[kMemTotalIndex]);
492 result_in_kb -= StringToInt(meminfo_fields[kMemFreeIndex]); 492 result_in_kb -= StringToInt(meminfo_fields[kMemFreeIndex]);
493 result_in_kb -= StringToInt(meminfo_fields[kMemBuffersIndex]); 493 result_in_kb -= StringToInt(meminfo_fields[kMemBuffersIndex]);
494 result_in_kb -= StringToInt(meminfo_fields[kMemCacheIndex]); 494 result_in_kb -= StringToInt(meminfo_fields[kMemCacheIndex]);
495 495
496 return result_in_kb; 496 return result_in_kb;
497 } 497 }
498 498
499 void EnableTerminationOnOutOfMemory() { 499 void EnableTerminationOnOutOfMemory() {
500 // http://crbug.com/27222 500 // http://crbug.com/27222
501 NOTIMPLEMENTED();
502 } 501 }
503 502
504 } // namespace base 503 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698