Index: components/proximity_auth/connection.h |
diff --git a/components/proximity_auth/connection.h b/components/proximity_auth/connection.h |
index 44a3ff55a8d18ce6a241fbbfd7345055382f1640..8b2e7fc992e2d4794a6ae23860adba0023686718 100644 |
--- a/components/proximity_auth/connection.h |
+++ b/components/proximity_auth/connection.h |
@@ -85,6 +85,12 @@ class Connection { |
virtual scoped_ptr<WireMessage> DeserializeWireMessage( |
bool* is_incomplete_message); |
+ // Exposed so it is possible to override DeserializeWireMessage in |
+ // BluetoothLowEnergyConnection class, while mantaining the same |
+ // functionality. |
+ // TODO(sacomoto): remove this when FakeWireMessage is not needed anymore. |
+ const std::string& received_bytes() { return received_bytes_; } |
+ |
private: |
// The remote device corresponding to this connection. |
const RemoteDevice remote_device_; |