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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chrome/browser/memory_details.cc ('k') | chrome/browser/memory_details_mac.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) 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 "chrome/browser/memory_details.h" 5 #include "chrome/browser/memory_details.h"
6 6
7 #include <stddef.h>
7 #include <sys/types.h> 8 #include <sys/types.h>
8 #include <unistd.h> 9 #include <unistd.h>
9 10
10 #include <map> 11 #include <map>
11 #include <set> 12 #include <set>
12 13
13 #include "base/bind.h" 14 #include "base/bind.h"
14 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
15 #include "base/process/process_iterator.h" 16 #include "base/process/process_iterator.h"
16 #include "base/process/process_metrics.h" 17 #include "base/process/process_metrics.h"
17 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
18 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "build/build_config.h"
20 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
21 #include "chrome/grit/chromium_strings.h" 23 #include "chrome/grit/chromium_strings.h"
22 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
23 #include "content/public/common/process_type.h" 25 #include "content/public/common/process_type.h"
24 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
25 27
26 using base::ProcessEntry; 28 using base::ProcessEntry;
27 using content::BrowserThread; 29 using content::BrowserThread;
28 30
29 namespace { 31 namespace {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 233
232 #if defined(OS_CHROMEOS) 234 #if defined(OS_CHROMEOS)
233 base::GetSwapInfo(&swap_info_); 235 base::GetSwapInfo(&swap_info_);
234 #endif 236 #endif
235 237
236 // Finally return to the browser thread. 238 // Finally return to the browser thread.
237 BrowserThread::PostTask( 239 BrowserThread::PostTask(
238 BrowserThread::UI, FROM_HERE, 240 BrowserThread::UI, FROM_HERE,
239 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); 241 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
240 } 242 }
OLDNEW
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/memory_details_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698