Index: components/proximity_auth/connection.h |
diff --git a/components/proximity_auth/connection.h b/components/proximity_auth/connection.h |
index 44a3ff55a8d18ce6a241fbbfd7345055382f1640..882e98ea972189d42dbc6474f81ac61ac69cb920 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 needed anymore. |
+ const std::string& received_bytes() { return received_bytes_; } |
+ |
private: |
// The remote device corresponding to this connection. |
const RemoteDevice remote_device_; |