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

Unified Diff: blimp/client/session/blimp_client_session.h

Issue 2344893009: Blimp: relocate thread-unsafe member getter in DropConnection code. (Closed)
Patch Set: wez feedback Created 4 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 | « blimp/client/core/blimp_client_context_impl.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/session/blimp_client_session.h
diff --git a/blimp/client/session/blimp_client_session.h b/blimp/client/session/blimp_client_session.h
index f739f6df4f49f940a2770f5b82e53fbb6272cd9d..8413f1ee65cb8697f00356645b3f0f1f0671ff4e 100644
--- a/blimp/client/session/blimp_client_session.h
+++ b/blimp/client/session/blimp_client_session.h
@@ -86,6 +86,10 @@ class BlimpClientSession
private:
void RegisterFeatures();
+ // Terminates the active connection held by |net_connections_| on the IO
+ // thread. Should be called on the main thread.
+ void DropConnection();
+
// NetworkEventObserver implementation.
void OnConnected() override;
void OnDisconnected(int result) override;
« no previous file with comments | « blimp/client/core/blimp_client_context_impl.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698