Index: components/cryptauth/connection.cc |
diff --git a/components/proximity_auth/connection.cc b/components/cryptauth/connection.cc |
similarity index 90% |
rename from components/proximity_auth/connection.cc |
rename to components/cryptauth/connection.cc |
index b191d5f0fce4440968437a1a340d81e89b2d84f9..21ee01f6d04a6faf770bfe2bcce1a397acf86dcc 100644 |
--- a/components/proximity_auth/connection.cc |
+++ b/components/cryptauth/connection.cc |
@@ -2,23 +2,22 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "components/proximity_auth/connection.h" |
+#include "components/cryptauth/connection.h" |
#include <utility> |
#include "base/logging.h" |
-#include "components/proximity_auth/connection_observer.h" |
-#include "components/proximity_auth/wire_message.h" |
+#include "components/cryptauth/connection_observer.h" |
+#include "components/cryptauth/wire_message.h" |
-namespace proximity_auth { |
+namespace cryptauth { |
Connection::Connection(const cryptauth::RemoteDevice& remote_device) |
: remote_device_(remote_device), |
status_(DISCONNECTED), |
is_sending_message_(false) {} |
-Connection::~Connection() { |
-} |
+Connection::~Connection() {} |
bool Connection::IsConnected() const { |
return status_ == CONNECTED; |
@@ -103,4 +102,4 @@ std::unique_ptr<WireMessage> Connection::DeserializeWireMessage( |
return WireMessage::Deserialize(received_bytes_, is_incomplete_message); |
} |
-} // namespace proximity_auth |
+} // namespace cryptauth |