| Index: blimp/common/logging.h
|
| diff --git a/blimp/common/logging.h b/blimp/common/logging.h
|
| index e53f333e7a3e7d71cc8177590a34de859cdf145a..05fac3cd238d89a355845ba20be5e3425a3d9e93 100644
|
| --- a/blimp/common/logging.h
|
| +++ b/blimp/common/logging.h
|
| @@ -44,15 +44,16 @@ class BLIMP_COMMON_EXPORT BlimpMessageLogger {
|
| void LogMessageToStream(const BlimpMessage& message, std::ostream* out) const;
|
|
|
| private:
|
| - // 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,
|
| + // Adds |extractor| to the registry for parsing messages of type
|
| + // |feature_case|.
|
| + // |feature_name|: The human readable name of |feature_case|.
|
| + void AddHandler(const std::string& feature_name,
|
| + BlimpMessage::FeatureCase feature_case,
|
| 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_;
|
|
|
|
|