File tree 4 files changed +8
-32
lines changed
packages/react-native/ReactCommon/hermes/inspector-modern/chrome
4 files changed +8
-32
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#include < jsinspector-modern/InspectorInterfaces.h>
16
16
17
- namespace facebook {
18
- namespace hermes {
19
- namespace inspector_modern {
20
- namespace chrome {
17
+ namespace facebook ::hermes::inspector_modern::chrome {
21
18
22
19
using ::facebook::react::jsinspector_modern::IInspector;
23
20
using ::facebook::react::jsinspector_modern::ILocalConnection;
@@ -139,9 +136,6 @@ void ConnectionDemux::removePage(int pageId) {
139
136
conns_.erase (pageId);
140
137
}
141
138
142
- } // namespace chrome
143
- } // namespace inspector_modern
144
- } // namespace hermes
145
- } // namespace facebook
139
+ } // namespace facebook::hermes::inspector_modern::chrome
146
140
147
141
#endif // HERMES_ENABLE_DEBUGGER
Original file line number Diff line number Diff line change 21
21
#include < hermes/inspector/chrome/CDPHandler.h>
22
22
#include < jsinspector-modern/InspectorInterfaces.h>
23
23
24
- namespace facebook {
25
- namespace hermes {
26
- namespace inspector_modern {
27
- namespace chrome {
24
+ namespace facebook ::hermes::inspector_modern::chrome {
28
25
29
26
/*
30
27
* ConnectionDemux keeps track of all debuggable Hermes runtimes (called
@@ -60,9 +57,6 @@ class ConnectionDemux {
60
57
std::shared_ptr<std::unordered_set<std::string>> inspectedContexts_;
61
58
};
62
59
63
- } // namespace chrome
64
- } // namespace inspector_modern
65
- } // namespace hermes
66
- } // namespace facebook
60
+ } // namespace facebook::hermes::inspector_modern::chrome
67
61
68
62
#endif // HERMES_ENABLE_DEBUGGER
Original file line number Diff line number Diff line change 10
10
11
11
#ifdef HERMES_ENABLE_DEBUGGER
12
12
13
- namespace facebook {
14
- namespace hermes {
15
- namespace inspector_modern {
16
- namespace chrome {
13
+ namespace facebook ::hermes::inspector_modern::chrome {
17
14
18
15
namespace {
19
16
@@ -35,9 +32,6 @@ void disableDebugging(DebugSessionToken session) {
35
32
demux ().disableDebugging (session);
36
33
}
37
34
38
- } // namespace chrome
39
- } // namespace inspector_modern
40
- } // namespace hermes
41
- } // namespace facebook
35
+ } // namespace facebook::hermes::inspector_modern::chrome
42
36
43
37
#endif // HERMES_ENABLE_DEBUGGER
Original file line number Diff line number Diff line change 15
15
#include < hermes/hermes.h>
16
16
#include < hermes/inspector/RuntimeAdapter.h>
17
17
18
- namespace facebook {
19
- namespace hermes {
20
- namespace inspector_modern {
21
- namespace chrome {
18
+ namespace facebook ::hermes::inspector_modern::chrome {
22
19
23
20
using DebugSessionToken = int ;
24
21
@@ -39,9 +36,6 @@ extern DebugSessionToken enableDebugging(
39
36
*/
40
37
extern void disableDebugging (DebugSessionToken session);
41
38
42
- } // namespace chrome
43
- } // namespace inspector_modern
44
- } // namespace hermes
45
- } // namespace facebook
39
+ } // namespace facebook::hermes::inspector_modern::chrome
46
40
47
41
#endif // HERMES_ENABLE_DEBUGGER
You can’t perform that action at this time.
0 commit comments