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

Unified Diff: components/proximity_auth/connection.h

Issue 1116963002: Bluetooth low energy connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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
« no previous file with comments | « components/proximity_auth/ble/proximity_auth_ble_system.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « components/proximity_auth/ble/proximity_auth_ble_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698