Chromium Code Reviews| 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 #ifndef CHROME_BROWSER_MEMORY_DETAILS_H_ | 5 #ifndef CHROME_BROWSER_MEMORY_DETAILS_H_ |
| 6 #define CHROME_BROWSER_MEMORY_DETAILS_H_ | 6 #define CHROME_BROWSER_MEMORY_DETAILS_H_ |
| 7 | 7 |
| 8 | |
| 9 #include <string> | |
|
Dean McNamee
2009/02/19 11:50:32
why did you remove string when it uses std::wstrin
| |
| 10 #include <vector> | 8 #include <vector> |
| 11 | 9 |
| 12 #include "base/file_path.h" | |
| 13 #include "base/process_util.h" | 10 #include "base/process_util.h" |
| 14 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 15 #include "chrome/common/child_process_info.h" | 12 #include "chrome/common/child_process_info.h" |
| 16 | 13 |
| 17 class MessageLoop; | 14 class MessageLoop; |
| 18 | 15 |
| 19 // We collect data about each browser process. A browser may | 16 // We collect data about each browser process. A browser may |
| 20 // have multiple processes (of course!). Even IE has multiple | 17 // have multiple processes (of course!). Even IE has multiple |
| 21 // processes these days. | 18 // processes these days. |
| 22 struct ProcessMemoryInformation { | 19 struct ProcessMemoryInformation { |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 void UpdateHistograms(); | 122 void UpdateHistograms(); |
| 126 | 123 |
| 127 ProcessData process_data_[MAX_BROWSERS]; | 124 ProcessData process_data_[MAX_BROWSERS]; |
| 128 MessageLoop* ui_loop_; | 125 MessageLoop* ui_loop_; |
| 129 | 126 |
| 130 DISALLOW_EVIL_CONSTRUCTORS(MemoryDetails); | 127 DISALLOW_EVIL_CONSTRUCTORS(MemoryDetails); |
| 131 }; | 128 }; |
| 132 | 129 |
| 133 #endif // CHROME_BROWSER_MEMORY_DETAILS_H_ | 130 #endif // CHROME_BROWSER_MEMORY_DETAILS_H_ |
| 134 | 131 |
| OLD | NEW |