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

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: Removing debug messages 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
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_;

Powered by Google App Engine
This is Rietveld 408576698