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

Side by Side Diff: chrome/browser/process_info_snapshot_mac.cc

Issue 3014015: Remove <iostream> where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix chrome frame compile Created 10 years, 5 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
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 "chrome/browser/process_info_snapshot.h" 5 #include "chrome/browser/process_info_snapshot.h"
6 6
7 #include <iostream>
8 #include <sstream> 7 #include <sstream>
9 8
10 #include "base/logging.h" 9 #include "base/logging.h"
11 #include "base/string_util.h" 10 #include "base/string_util.h"
12 #include "base/thread.h" 11 #include "base/thread.h"
13 12
14 // Implementation for the Mac; calls '/bin/ps' for information when 13 // Implementation for the Mac; calls '/bin/ps' for information when
15 // |Sample()| is called. 14 // |Sample()| is called.
16 15
17 // Default constructor. 16 // Default constructor.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 ws_usage->shareable = 0; 159 ws_usage->shareable = 0;
161 ws_usage->shared = 0; 160 ws_usage->shared = 0;
162 return false; 161 return false;
163 } 162 }
164 163
165 ws_usage->priv = 0; 164 ws_usage->priv = 0;
166 ws_usage->shareable = proc_info.rss; 165 ws_usage->shareable = proc_info.rss;
167 ws_usage->shared = 0; 166 ws_usage->shared = 0;
168 return true; 167 return true;
169 } 168 }
OLDNEW
« no previous file with comments | « chrome/browser/parsers/metadata_parser_filebase.cc ('k') | chrome/browser/safe_browsing/filter_false_positive_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698