OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <unistd.h> | 7 #include <unistd.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <dirent.h> | 9 #include <dirent.h> |
10 | 10 |
| 11 #include <set> |
| 12 |
11 #include "base/eintr_wrapper.h" | 13 #include "base/eintr_wrapper.h" |
12 #include "base/file_version_info.h" | 14 #include "base/file_version_info.h" |
13 #include "base/string_util.h" | 15 #include "base/string_util.h" |
14 #include "base/process_util.h" | 16 #include "base/process_util.h" |
15 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
16 #include "chrome/browser/browser_child_process_host.h" | 18 #include "chrome/browser/browser_child_process_host.h" |
17 #include "chrome/browser/browser_thread.h" | 19 #include "chrome/browser/browser_thread.h" |
18 #include "chrome/browser/zygote_host_linux.h" | 20 #include "chrome/browser/zygote_host_linux.h" |
19 #include "chrome/common/chrome_constants.h" | 21 #include "chrome/common/chrome_constants.h" |
20 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 } | 264 } |
263 | 265 |
264 process_data_.push_back(browser); | 266 process_data_.push_back(browser); |
265 } | 267 } |
266 | 268 |
267 // Finally return to the browser thread. | 269 // Finally return to the browser thread. |
268 BrowserThread::PostTask( | 270 BrowserThread::PostTask( |
269 BrowserThread::UI, FROM_HERE, | 271 BrowserThread::UI, FROM_HERE, |
270 NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnUIThread)); | 272 NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnUIThread)); |
271 } | 273 } |
OLD | NEW |