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

Unified Diff: components/proximity_auth/wire_message.h

Issue 585743004: [Easy Unlock] Port the BluetoothConnection class to native code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Save references to OnReceive() callbacks Created 6 years, 3 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/remote_device.h ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/wire_message.h
diff --git a/components/proximity_auth/wire_message.h b/components/proximity_auth/wire_message.h
index 36107620f22bb585250c5196b0433d700b41f8ee..4cf44cb2b9f24536e9c6252d59f55cad7746e5ea 100644
--- a/components/proximity_auth/wire_message.h
+++ b/components/proximity_auth/wire_message.h
@@ -24,6 +24,9 @@ class WireMessage {
const std::string& serialized_message,
bool* is_incomplete_message);
+ // Returns a serialized representation of |this| message.
+ virtual std::string Serialize() const;
+
const std::string& permit_id() const { return permit_id_; }
const std::string& payload() const { return payload_; }
« no previous file with comments | « components/proximity_auth/remote_device.h ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698