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

Unified Diff: blimp/net/browser_connection_handler.cc

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compared specific 'case' field into DCHECKs 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/browser_connection_handler.cc
diff --git a/blimp/net/browser_connection_handler.cc b/blimp/net/browser_connection_handler.cc
index 1b4ea1dd8a65977cd77d2026e87d45275628e3a7..3702fa78ee5ec2831bbe7d3ee20bf8c5a23c7af5 100644
--- a/blimp/net/browser_connection_handler.cc
+++ b/blimp/net/browser_connection_handler.cc
@@ -35,7 +35,7 @@ BrowserConnectionHandler::~BrowserConnectionHandler() {}
std::unique_ptr<BlimpMessageProcessor>
BrowserConnectionHandler::RegisterFeature(
- BlimpMessage::Type type,
+ BlimpMessage::FeatureCase type,
BlimpMessageProcessor* incoming_processor) {
demultiplexer_->AddProcessor(type, incoming_processor);
return multiplexer_->CreateSenderForType(type);

Powered by Google App Engine
This is Rietveld 408576698