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

Side by Side Diff: chrome/browser/task_manager/sampling/task_group.h

Issue 2649063003: Revert of Query NaCl processes' GDB debug port on the correct thread. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | chrome/browser/task_manager/sampling/task_group.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_TASK_MANAGER_SAMPLING_TASK_GROUP_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_
6 #define CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 int open_fd_count() const { return open_fd_count_; } 100 int open_fd_count() const { return open_fd_count_; }
101 #endif // defined(OS_LINUX) 101 #endif // defined(OS_LINUX)
102 102
103 int idle_wakeups_per_second() const { return idle_wakeups_per_second_; } 103 int idle_wakeups_per_second() const { return idle_wakeups_per_second_; }
104 104
105 private: 105 private:
106 void RefreshGpuMemory(const gpu::VideoMemoryUsageStats& gpu_memory_stats); 106 void RefreshGpuMemory(const gpu::VideoMemoryUsageStats& gpu_memory_stats);
107 107
108 void RefreshWindowsHandles(); 108 void RefreshWindowsHandles();
109 109
110 #if !defined(DISABLE_NACL)
111 // |child_process_unique_id| see Task::GetChildProcessUniqueID(). 110 // |child_process_unique_id| see Task::GetChildProcessUniqueID().
112 void RefreshNaClDebugStubPort(int child_process_unique_id); 111 void RefreshNaClDebugStubPort(int child_process_unique_id);
113 void OnRefreshNaClDebugStubPortDone(int port);
114 #endif
115 112
116 void OnCpuRefreshDone(double cpu_usage); 113 void OnCpuRefreshDone(double cpu_usage);
117 114
118 void OnStartTimeRefreshDone(base::Time start_time); 115 void OnStartTimeRefreshDone(base::Time start_time);
119 116
120 void OnCpuTimeRefreshDone(base::TimeDelta cpu_time); 117 void OnCpuTimeRefreshDone(base::TimeDelta cpu_time);
121 118
122 void OnPhysicalMemoryUsageRefreshDone(int64_t physical_bytes); 119 void OnPhysicalMemoryUsageRefreshDone(int64_t physical_bytes);
123 void OnMemoryUsageRefreshDone(MemoryUsageStats memory_usage); 120 void OnMemoryUsageRefreshDone(MemoryUsageStats memory_usage);
124 121
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // Always keep this the last member of this class so that it's the first to be 181 // Always keep this the last member of this class so that it's the first to be
185 // destroyed. 182 // destroyed.
186 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_; 183 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_;
187 184
188 DISALLOW_COPY_AND_ASSIGN(TaskGroup); 185 DISALLOW_COPY_AND_ASSIGN(TaskGroup);
189 }; 186 };
190 187
191 } // namespace task_manager 188 } // namespace task_manager
192 189
193 #endif // CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_ 190 #endif // CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/task_manager/sampling/task_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698