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

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

Issue 2646623004: Query NaCl processes' GDB debug port on the correct thread. (Closed)
Patch Set: Address review comments 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 | « 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)
110 // |child_process_unique_id| see Task::GetChildProcessUniqueID(). 111 // |child_process_unique_id| see Task::GetChildProcessUniqueID().
111 void RefreshNaClDebugStubPort(int child_process_unique_id); 112 void RefreshNaClDebugStubPort(int child_process_unique_id);
113 void OnRefreshNaClDebugStubPortDone(int port);
114 #endif
112 115
113 void OnCpuRefreshDone(double cpu_usage); 116 void OnCpuRefreshDone(double cpu_usage);
114 117
115 void OnStartTimeRefreshDone(base::Time start_time); 118 void OnStartTimeRefreshDone(base::Time start_time);
116 119
117 void OnCpuTimeRefreshDone(base::TimeDelta cpu_time); 120 void OnCpuTimeRefreshDone(base::TimeDelta cpu_time);
118 121
119 void OnPhysicalMemoryUsageRefreshDone(int64_t physical_bytes); 122 void OnPhysicalMemoryUsageRefreshDone(int64_t physical_bytes);
120 void OnMemoryUsageRefreshDone(MemoryUsageStats memory_usage); 123 void OnMemoryUsageRefreshDone(MemoryUsageStats memory_usage);
121 124
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Always keep this the last member of this class so that it's the first to be 184 // Always keep this the last member of this class so that it's the first to be
182 // destroyed. 185 // destroyed.
183 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_; 186 base::WeakPtrFactory<TaskGroup> weak_ptr_factory_;
184 187
185 DISALLOW_COPY_AND_ASSIGN(TaskGroup); 188 DISALLOW_COPY_AND_ASSIGN(TaskGroup);
186 }; 189 };
187 190
188 } // namespace task_manager 191 } // namespace task_manager
189 192
190 #endif // CHROME_BROWSER_TASK_MANAGER_SAMPLING_TASK_GROUP_H_ 193 #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