Index: components/proximity_auth/connection.h |
diff --git a/components/proximity_auth/connection.h b/components/proximity_auth/connection.h |
index 44a3ff55a8d18ce6a241fbbfd7345055382f1640..84673d7af86c5391638e8ac525e75e2e75a6a9da 100644 |
--- a/components/proximity_auth/connection.h |
+++ b/components/proximity_auth/connection.h |
@@ -85,6 +85,11 @@ class Connection { |
virtual scoped_ptr<WireMessage> DeserializeWireMessage( |
bool* is_incomplete_message); |
+ // Exposed so it is possible to override DeserializeWireMessage in |
+ // BluetoothLowEnergyConnection, while mantaining the same functionality. |
+ // TODO(sacomoto): remove this when FakeWireMessage is not need anymore. |
+ std::string received_bytes() { return received_bytes_; } |
msarda
2015/05/05 11:56:15
s/std::string received_bytes()/const std::string&
sacomoto
2015/05/06 13:47:59
Done.
|
+ |
private: |
// The remote device corresponding to this connection. |
const RemoteDevice remote_device_; |