Rename namespace dawn_wire to dawn::wire.

But keep a namespace alias to avoid breaking project that depend on the
previous namespace name while they get updated.

Bug: dawn:824
Change-Id: I1e99c4d0d2acf7644a225a88d07806d1a64478e6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75540
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2022-01-11 09:57:33 +00:00
committed by Dawn LUCI CQ
parent f07477a1ce
commit 5d846ab503
91 changed files with 202 additions and 198 deletions

View File

@@ -20,7 +20,7 @@
#include "utils/TerribleCommandBuffer.h"
using namespace testing;
using namespace dawn_wire;
using namespace dawn::wire;
WireTest::WireTest() {
}
@@ -65,7 +65,7 @@ void WireTest::SetUp() {
mWireClient.reset(new WireClient(clientDesc));
mS2cBuf->SetHandler(mWireClient.get());
dawnProcSetProcs(&dawn_wire::client::GetProcs());
dawnProcSetProcs(&dawn::wire::client::GetProcs());
auto deviceReservation = mWireClient->ReserveDevice();
EXPECT_CALL(api, DeviceReference(mockDevice));
@@ -120,11 +120,11 @@ void WireTest::FlushServer(bool success) {
ASSERT_EQ(mS2cBuf->Flush(), success);
}
dawn_wire::WireServer* WireTest::GetWireServer() {
dawn::wire::WireServer* WireTest::GetWireServer() {
return mWireServer.get();
}
dawn_wire::WireClient* WireTest::GetWireClient() {
dawn::wire::WireClient* WireTest::GetWireClient() {
return mWireClient.get();
}