| Index: components/cryptauth/wire_message.cc
|
| diff --git a/components/proximity_auth/wire_message.cc b/components/cryptauth/wire_message.cc
|
| similarity index 97%
|
| rename from components/proximity_auth/wire_message.cc
|
| rename to components/cryptauth/wire_message.cc
|
| index 6da69d1a4256282248f4769c7586939b9b3dfe2f..7b26d7d42a83994cafca11ec48ab28573a12debc 100644
|
| --- a/components/proximity_auth/wire_message.cc
|
| +++ b/components/cryptauth/wire_message.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/proximity_auth/wire_message.h"
|
| +#include "components/cryptauth/wire_message.h"
|
|
|
| #include <stddef.h>
|
| #include <stdint.h>
|
| @@ -23,7 +23,7 @@
|
| // The JSON body contains two fields: an optional permit_id field and a required
|
| // data field.
|
|
|
| -namespace proximity_auth {
|
| +namespace cryptauth {
|
| namespace {
|
|
|
| // The length of the message header, in bytes.
|
| @@ -76,8 +76,7 @@ bool ParseHeader(const std::string& serialized_message,
|
|
|
| } // namespace
|
|
|
| -WireMessage::~WireMessage() {
|
| -}
|
| +WireMessage::~WireMessage() {}
|
|
|
| // static
|
| std::unique_ptr<WireMessage> WireMessage::Deserialize(
|
| @@ -169,4 +168,4 @@ WireMessage::WireMessage(const std::string& payload,
|
| const std::string& permit_id)
|
| : payload_(payload), permit_id_(permit_id) {}
|
|
|
| -} // namespace proximity_auth
|
| +} // namespace cryptauth
|
|
|