aboutsummaryrefslogtreecommitdiff
path: root/gd/l2cap/classic/l2cap_classic_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'gd/l2cap/classic/l2cap_classic_module.h')
-rw-r--r--gd/l2cap/classic/l2cap_classic_module.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/gd/l2cap/classic/l2cap_classic_module.h b/gd/l2cap/classic/l2cap_classic_module.h
index d775694a6..388cae28d 100644
--- a/gd/l2cap/classic/l2cap_classic_module.h
+++ b/gd/l2cap/classic/l2cap_classic_module.h
@@ -19,17 +19,9 @@
#include "l2cap/classic/dynamic_channel_manager.h"
#include "l2cap/classic/fixed_channel_manager.h"
-#include "l2cap/classic/link_property_listener.h"
-#include "l2cap/classic/link_security_interface.h"
-#include "l2cap/classic/security_enforcement_interface.h"
#include "module.h"
namespace bluetooth {
-
-namespace security {
-class SecurityModule;
-}
-
namespace l2cap {
namespace classic {
@@ -49,28 +41,6 @@ class L2capClassicModule : public bluetooth::Module {
virtual std::unique_ptr<DynamicChannelManager> GetDynamicChannelManager();
static const ModuleFactory Factory;
- /**
- * Only for the classic security module to inject functionality to enforce security level for a connection. When
- * classic security module is stopping, inject nullptr. Note: We expect this only to be called during stack startup.
- * This is not synchronized.
- */
- virtual void InjectSecurityEnforcementInterface(SecurityEnforcementInterface* security_enforcement_interface);
-
- /**
- * Get the interface for Security Module to access link function.
- * Security Module needs to register the callback for ACL link connected and disconnected. When connected, either by
- * incoming or by outgoing connection request, Security Module receives a LinkSecurityInterface proxy, which can be
- * used to access some link functionlities.
- */
- virtual SecurityInterface* GetSecurityInterface(os::Handler* handler, LinkSecurityInterfaceListener* listener);
-
- friend security::SecurityModule;
-
- /**
- * Set the link property listener.
- * This is not synchronized.
- */
- virtual void SetLinkPropertyListener(os::Handler* handler, LinkPropertyListener* listener);
protected:
void ListDependencies(ModuleList* list) override;
@@ -81,12 +51,9 @@ class L2capClassicModule : public bluetooth::Module {
std::string ToString() const override;
- DumpsysDataFinisher GetDumpsysData(flatbuffers::FlatBufferBuilder* builder) const override; // Module
-
private:
struct impl;
std::unique_ptr<impl> pimpl_;
-
DISALLOW_COPY_AND_ASSIGN(L2capClassicModule);
};