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

Unified Diff: blimp/net/blimp_connection.h

Issue 1876983002: Use Chromium BUILD to approximate Blimp protocol version, and check it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android to use GetVersionNumber() Created 4 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 | « blimp/common/protocol_version.h.version ('k') | blimp/net/blimp_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/blimp_connection.h
diff --git a/blimp/net/blimp_connection.h b/blimp/net/blimp_connection.h
index 246c10c227510438a1bb397b959ce90621b6db65..51070d0c7665ab9b74685f6577dc41489b5c28e2 100644
--- a/blimp/net/blimp_connection.h
+++ b/blimp/net/blimp_connection.h
@@ -44,6 +44,9 @@ class BLIMP_NET_EXPORT BlimpConnection : public ConnectionErrorObserver {
virtual BlimpMessageProcessor* GetOutgoingMessageProcessor();
protected:
+ class EndConnectionFilter;
+ friend class EndConnectionFilter;
+
BlimpConnection();
// ConnectionErrorObserver implementation.
@@ -55,6 +58,7 @@ class BLIMP_NET_EXPORT BlimpConnection : public ConnectionErrorObserver {
std::unique_ptr<PacketWriter> writer_;
std::unique_ptr<BlimpMessageSender> outgoing_msg_processor_;
base::ObserverList<ConnectionErrorObserver> error_observers_;
+ std::unique_ptr<EndConnectionFilter> end_connection_filter_;
DISALLOW_COPY_AND_ASSIGN(BlimpConnection);
};
« no previous file with comments | « blimp/common/protocol_version.h.version ('k') | blimp/net/blimp_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698