Skip to content

Commit c8a91d4

Browse files
server: merge Cmd and Accept in Ctx
Signed-off-by: Francis Bouvier <[email protected]>
1 parent b0ff325 commit c8a91d4

File tree

11 files changed

+83
-97
lines changed

11 files changed

+83
-97
lines changed

src/cdp/browser.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/cdp.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323

2424
const browser = @import("browser.zig").browser;
2525
const target = @import("target.zig").target;

src/cdp/emulation.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/fetch.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/log.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/network.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/page.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/performance.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

src/cdp/runtime.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const builtin = @import("builtin");
2222
const jsruntime = @import("jsruntime");
2323

2424
const server = @import("../server.zig");
25-
const Ctx = server.Cmd;
25+
const Ctx = server.Ctx;
2626
const cdp = @import("cdp.zig");
2727
const result = cdp.result;
2828
const getMsg = cdp.getMsg;

src/cdp/target.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
const std = @import("std");
2020

2121
const server = @import("../server.zig");
22-
const Ctx = server.Cmd;
22+
const Ctx = server.Ctx;
2323
const cdp = @import("cdp.zig");
2424
const result = cdp.result;
2525
const getMsg = cdp.getMsg;

0 commit comments

Comments
 (0)