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

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

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/file_version_info.h" 14 #include "base/file_version_info.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/mac/foundation_util.h" 16 #include "base/mac/foundation_util.h"
17 #include "base/process/process_iterator.h" 17 #include "base/process/process_iterator.h"
18 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "base/threading/sequenced_worker_pool.h"
21 #include "base/threading/thread.h" 20 #include "base/threading/thread.h"
22 #include "chrome/common/chrome_constants.h" 21 #include "chrome/common/chrome_constants.h"
23 #include "chrome/common/url_constants.h" 22 #include "chrome/common/url_constants.h"
24 #include "chrome/grit/chromium_strings.h" 23 #include "chrome/grit/chromium_strings.h"
25 #include "components/version_info/version_info.h" 24 #include "components/version_info/version_info.h"
26 #include "content/public/browser/browser_child_process_host.h" 25 #include "content/public/browser/browser_child_process_host.h"
27 #include "content/public/browser/browser_thread.h" 26 #include "content/public/browser/browser_thread.h"
28 #include "content/public/common/process_type.h" 27 #include "content/public/common/process_type.h"
29 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
30 29
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 123
125 // Collect data about Chrome/Chromium. 124 // Collect data about Chrome/Chromium.
126 for (const base::ProcessId& pid : all_pids) 125 for (const base::ProcessId& pid : all_pids)
127 CollectProcessDataForChromeProcess(child_info, pid, chrome_processes); 126 CollectProcessDataForChromeProcess(child_info, pid, chrome_processes);
128 127
129 // Finally return to the browser thread. 128 // Finally return to the browser thread.
130 BrowserThread::PostTask( 129 BrowserThread::PostTask(
131 BrowserThread::UI, FROM_HERE, 130 BrowserThread::UI, FROM_HERE,
132 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); 131 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
133 } 132 }
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