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

Unified Diff: blimp/net/blimp_connection.h

Issue 1492643003: [Blimp Net] Add EngineAuthHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses wez's comments Created 5 years 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: blimp/net/blimp_connection.h
diff --git a/blimp/net/blimp_connection.h b/blimp/net/blimp_connection.h
index 9f48f5079bdf1f55caf04b2fdb7a06ee3201035d..f95a91c59cd7b8c9c41fa74f55e492fe5e41224f 100644
--- a/blimp/net/blimp_connection.h
+++ b/blimp/net/blimp_connection.h
@@ -27,15 +27,18 @@ class BLIMP_NET_EXPORT BlimpConnection {
virtual ~BlimpConnection();
// Lets |observer| know when the network connection encounters an error.
- void SetConnectionErrorObserver(ConnectionErrorObserver* observer);
+ virtual void SetConnectionErrorObserver(ConnectionErrorObserver* observer);
// Sets the processor which will take incoming messages for this connection.
// Can be set multiple times, but previously set processors are discarded.
// Caller retains the ownership of |processor|.
- void SetIncomingMessageProcessor(BlimpMessageProcessor* processor);
+ virtual void SetIncomingMessageProcessor(BlimpMessageProcessor* processor);
// Gets a processor for BrowserSession->BlimpConnection message routing.
- BlimpMessageProcessor* GetOutgoingMessageProcessor() const;
+ virtual BlimpMessageProcessor* GetOutgoingMessageProcessor() const;
+
+ protected:
+ BlimpConnection();
private:
scoped_ptr<PacketReader> reader_;

Powered by Google App Engine
This is Rietveld 408576698