Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: components/cryptauth/wire_message.cc

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Rebase. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698