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

Side by Side Diff: chrome/browser/memory_details_win.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_mac.cc ('k') | chrome/browser/metrics/android_metrics_provider.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 "chrome/browser/memory_details.h" 5 #include "chrome/browser/memory_details.h"
6 6
7 #include <psapi.h> 7 #include <psapi.h>
8 #include <stddef.h>
8 #include <TlHelp32.h> 9 #include <TlHelp32.h>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/file_version_info.h" 12 #include "base/file_version_info.h"
12 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
13 #include "base/path_service.h" 14 #include "base/path_service.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
16 #include "base/win/scoped_handle.h" 17 #include "base/win/scoped_handle.h"
17 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 161 }
161 break; 162 break;
162 } 163 }
163 } while (::Process32Next(snapshot.Get(), &process_entry)); 164 } while (::Process32Next(snapshot.Get(), &process_entry));
164 165
165 // Finally return to the browser thread. 166 // Finally return to the browser thread.
166 BrowserThread::PostTask( 167 BrowserThread::PostTask(
167 BrowserThread::UI, FROM_HERE, 168 BrowserThread::UI, FROM_HERE,
168 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); 169 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
169 } 170 }
OLDNEW
« no previous file with comments | « chrome/browser/memory_details_mac.cc ('k') | chrome/browser/metrics/android_metrics_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698