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

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: Nits 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/net/blimp_message_demultiplexer_unittest.cc ('k') | blimp/net/blimp_message_multiplexer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..aafbfd73f9e288281529516218d820aaebf34b26 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|.
- // Any number of senders can be created at a time for a given type.
- std::unique_ptr<BlimpMessageProcessor> CreateSenderForType(
- BlimpMessage::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> CreateSender(
+ BlimpMessage::FeatureCase feature_case);
private:
base::WeakPtrFactory<BlimpMessageProcessor> output_weak_factory_;
« no previous file with comments | « blimp/net/blimp_message_demultiplexer_unittest.cc ('k') | blimp/net/blimp_message_multiplexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698