Skip to content

Commit a4ebc80

Browse files
andy31415andreilitvinrestyled-commits
authored
Remove SessionHandle.{h,cpp} and replace includes with Session.h (#26549)
* Remove SessionHandle.{h,cpp} and replace includes with Session * Restyled by clang-format --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent df615a6 commit a4ebc80

11 files changed

+7
-48
lines changed

src/app/InteractionModelTimeout.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <system/SystemClock.h>
2121
#include <transport/Session.h>
22-
#include <transport/SessionHandle.h>
2322

2423
namespace chip {
2524
namespace app {

src/app/OperationalSessionSetupPool.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <app/CASESessionManager.h>
2121
#include <app/OperationalSessionSetup.h>
2222
#include <lib/support/Pool.h>
23-
#include <transport/SessionHandle.h>
23+
#include <transport/Session.h>
2424

2525
namespace chip {
2626

src/darwin/Framework/CHIP/MTRCallbackBridgeBase.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <app/data-model/NullObject.h>
2626
#include <messaging/ExchangeMgr.h>
2727
#include <platform/CHIPDeviceLayer.h>
28-
#include <transport/SessionHandle.h>
28+
#include <transport/Session.h>
2929

3030
NS_ASSUME_NONNULL_BEGIN
3131

src/darwin/Framework/CHIP/MTRDeviceConnectionBridge.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <controller/CHIPDeviceController.h>
2323
#include <lib/core/ReferenceCounted.h>
2424
#include <messaging/ExchangeMgr.h>
25-
#include <transport/SessionHandle.h>
25+
#include <transport/Session.h>
2626

2727
NS_ASSUME_NONNULL_BEGIN
2828

src/protocols/secure_channel/SessionEstablishmentDelegate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#pragma once
2727

2828
#include <system/SystemPacketBuffer.h>
29-
#include <transport/SessionHandle.h>
29+
#include <transport/Session.h>
3030
#include <transport/raw/MessageHeader.h>
3131
#include <transport/raw/PeerAddress.h>
3232

src/transport/BUILD.gn

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ static_library("transport") {
3939
"Session.cpp",
4040
"Session.h",
4141
"SessionDelegate.h",
42-
"SessionHandle.cpp",
43-
"SessionHandle.h",
4442
"SessionHolder.cpp",
4543
"SessionHolder.h",
4644
"SessionManager.cpp",

src/transport/MessageCounterManagerInterface.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#pragma once
1919

2020
#include <transport/SecureSession.h>
21-
#include <transport/SessionHandle.h>
21+
#include <transport/Session.h>
2222

2323
namespace chip {
2424
namespace Transport {

src/transport/SessionHandle.cpp

-18
This file was deleted.

src/transport/SessionHandle.h

-20
This file was deleted.

src/transport/SessionManager.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
#include <transport/GroupSession.h>
4343
#include <transport/MessageCounterManagerInterface.h>
4444
#include <transport/SecureSessionTable.h>
45+
#include <transport/Session.h>
4546
#include <transport/SessionDelegate.h>
46-
#include <transport/SessionHandle.h>
4747
#include <transport/SessionHolder.h>
4848
#include <transport/SessionMessageDelegate.h>
4949
#include <transport/TransportMgr.h>

src/transport/SessionMessageDelegate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#pragma once
1818

19-
#include <transport/SessionHandle.h>
19+
#include <transport/Session.h>
2020
#include <transport/raw/MessageHeader.h>
2121

2222
namespace chip {

0 commit comments

Comments
 (0)