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

Side by Side Diff: chrome/browser/memory_details_linux.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_android.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 <stddef.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 10
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <set> 13 #include <set>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/files/file_util.h" 16 #include "base/files/file_util.h"
17 #include "base/process/process_iterator.h" 17 #include "base/process/process_iterator.h"
18 #include "base/process/process_metrics.h" 18 #include "base/process/process_metrics.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/strings/string_util.h" 20 #include "base/strings/string_util.h"
21 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
22 #include "base/threading/sequenced_worker_pool.h"
23 #include "build/build_config.h" 22 #include "build/build_config.h"
24 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
25 #include "chrome/grit/chromium_strings.h" 24 #include "chrome/grit/chromium_strings.h"
26 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
27 #include "content/public/common/process_type.h" 26 #include "content/public/common/process_type.h"
28 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
29 28
30 using base::ProcessEntry; 29 using base::ProcessEntry;
31 using content::BrowserThread; 30 using content::BrowserThread;
32 31
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 138
140 #if defined(OS_CHROMEOS) 139 #if defined(OS_CHROMEOS)
141 base::GetSwapInfo(&swap_info_); 140 base::GetSwapInfo(&swap_info_);
142 #endif 141 #endif
143 142
144 // Finally return to the browser thread. 143 // Finally return to the browser thread.
145 BrowserThread::PostTask( 144 BrowserThread::PostTask(
146 BrowserThread::UI, FROM_HERE, 145 BrowserThread::UI, FROM_HERE,
147 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); 146 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this));
148 } 147 }
OLDNEW
« no previous file with comments | « chrome/browser/memory_details_android.cc ('k') | chrome/browser/memory_details_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698