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

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

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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_linux.cc ('k') | chrome/browser/memory_details_win.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 <stddef.h>
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/file_version_info.h" 13 #include "base/file_version_info.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/mac/foundation_util.h" 15 #include "base/mac/foundation_util.h"
16 #include "base/memory/scoped_ptr.h"
16 #include "base/process/process_iterator.h" 17 #include "base/process/process_iterator.h"
17 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
18 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
19 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
20 #include "chrome/browser/process_info_snapshot.h" 21 #include "chrome/browser/process_info_snapshot.h"
21 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/url_constants.h" 23 #include "chrome/common/url_constants.h"
23 #include "chrome/grit/chromium_strings.h" 24 #include "chrome/grit/chromium_strings.h"
24 #include "components/version_info/version_info.h" 25 #include "components/version_info/version_info.h"
25 #include "content/public/browser/browser_child_process_host.h" 26 #include "content/public/browser/browser_child_process_host.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 235
235 // And collect data about the helpers. 236 // And collect data about the helpers.
236 for (const base::ProcessId& pid : helper_pids) 237 for (const base::ProcessId& pid : helper_pids)
237 CollectProcessDataForChromeProcess(child_info, pid, chrome_processes); 238 CollectProcessDataForChromeProcess(child_info, pid, chrome_processes);
238 239
239 // Finally return to the browser thread. 240 // Finally return to the browser thread.
240 BrowserThread::PostTask( 241 BrowserThread::PostTask(
241 BrowserThread::UI, FROM_HERE, 242 BrowserThread::UI, FROM_HERE,
242 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); 243 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
243 } 244 }
OLDNEW
« no previous file with comments | « chrome/browser/memory_details_linux.cc ('k') | chrome/browser/memory_details_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698