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

Unified Diff: modules/include/module.h

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: modules/include/module.h
diff --git a/modules/include/module.h b/modules/include/module.h
index becffb9ad3878105791ea785a07ac15c77406df0..fc2a1b5fc96eb2913bb2e37bc1f0257ffc5593ef 100644
--- a/modules/include/module.h
+++ b/modules/include/module.h
@@ -58,24 +58,6 @@ class Module {
protected:
virtual ~Module() {}
};
-
-// Reference counted version of the Module interface.
-class RefCountedModule : public Module {
- public:
- // Increase the reference count by one.
- // Returns the incremented reference count.
- virtual int32_t AddRef() const = 0;
-
- // Decrease the reference count by one.
- // Returns the decreased reference count.
- // Returns 0 if the last reference was just released.
- // When the reference count reaches 0 the object will self-destruct.
- virtual int32_t Release() const = 0;
-
- protected:
- ~RefCountedModule() override = default;
-};
-
} // namespace webrtc
#endif // MODULES_INCLUDE_MODULE_H_

Powered by Google App Engine
This is Rietveld 408576698