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

Unified Diff: blimp/common/logging.h

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/common/logging.h
diff --git a/blimp/common/logging.h b/blimp/common/logging.h
index e53f333e7a3e7d71cc8177590a34de859cdf145a..f2b8da0256d3e644f6bdbf7b7da596df32536ccc 100644
--- a/blimp/common/logging.h
+++ b/blimp/common/logging.h
@@ -47,12 +47,12 @@ class BLIMP_COMMON_EXPORT BlimpMessageLogger {
// Adds |extractor| to the registry for parsing messages of type |type|.
// |type_name|: The human readable name of |type|.
void AddHandler(const std::string& type_name,
- BlimpMessage::Type type,
+ BlimpMessage::FeatureCase type,
std::unique_ptr<LogExtractor> extractor);
// Registry of log extractors. Map structure is:
// {message type => (human readable message type, LogExtractor*)}
- std::map<BlimpMessage::Type,
+ std::map<BlimpMessage::FeatureCase,
std::pair<std::string, std::unique_ptr<LogExtractor>>>
extractors_;

Powered by Google App Engine
This is Rietveld 408576698