| OLD | NEW |
| 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 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 139 |
| 140 process_data_.push_back(current_browser); | 140 process_data_.push_back(current_browser); |
| 141 | 141 |
| 142 #if defined(OS_CHROMEOS) | 142 #if defined(OS_CHROMEOS) |
| 143 base::GetSwapInfo(&swap_info_); | 143 base::GetSwapInfo(&swap_info_); |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 // Finally return to the browser thread. | 146 // Finally return to the browser thread. |
| 147 BrowserThread::PostTask( | 147 BrowserThread::PostTask( |
| 148 BrowserThread::UI, FROM_HERE, | 148 BrowserThread::UI, FROM_HERE, |
| 149 base::Bind(&MemoryDetails::CollectChildInfoOnUIThread, this)); | 149 base::BindOnce(&MemoryDetails::CollectChildInfoOnUIThread, this)); |
| 150 } | 150 } |
| OLD | NEW |