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

Unified Diff: blimp/net/blimp_message_multiplexer.h

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added oneof to tab_control.proto and more cleanup 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
Index: blimp/net/blimp_message_multiplexer.h
diff --git a/blimp/net/blimp_message_multiplexer.h b/blimp/net/blimp_message_multiplexer.h
index 8101edbbbf75846f42d1a25fd1b281be17f8e8e3..db639b4d13e10cd986d2f2c2cb47cb0e46fdd0c4 100644
--- a/blimp/net/blimp_message_multiplexer.h
+++ b/blimp/net/blimp_message_multiplexer.h
@@ -29,10 +29,11 @@ class BLIMP_NET_EXPORT BlimpMessageMultiplexer {
~BlimpMessageMultiplexer();
- // Creates a BlimpMessageProcessor object for sending messages of type |type|.
+ // Creates a BlimpMessageProcessor object for sending messages of type
+ // |feature_case|.
// Any number of senders can be created at a time for a given type.
- std::unique_ptr<BlimpMessageProcessor> CreateSenderForType(
- BlimpMessage::Type type);
+ std::unique_ptr<BlimpMessageProcessor> CreateSender(
+ BlimpMessage::FeatureCase feature_case);
private:
base::WeakPtrFactory<BlimpMessageProcessor> output_weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698