Chromium Code Reviews

Unified Diff: webrtc/modules/utility/include/process_thread.h

Issue 2729053002: Add location to RegisterModule (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/utility/include/process_thread.h
diff --git a/webrtc/modules/utility/include/process_thread.h b/webrtc/modules/utility/include/process_thread.h
index 8524a5188eb2d9446d5b1c40a08549ef488061b1..2132ee453c25646463a2e54bd3ce521508a5c1d6 100644
--- a/webrtc/modules/utility/include/process_thread.h
+++ b/webrtc/modules/utility/include/process_thread.h
@@ -25,6 +25,10 @@ class QueuedTask;
}
#endif
+namespace rtc {
+class Location;
+}
+
namespace webrtc {
class Module;
@@ -61,7 +65,7 @@ class ProcessThread {
// Adds a module that will start to receive callbacks on the worker thread.
// Can be called from any thread.
- virtual void RegisterModule(Module* module) = 0;
+ virtual void RegisterModule(Module* module, const rtc::Location& from) = 0;
// Removes a previously registered module.
// Can be called from any thread.

Powered by Google App Engine