| Index: webrtc/common_video/h264/h264_bitstream_parser.h
 | 
| diff --git a/webrtc/common_video/h264/h264_bitstream_parser.h b/webrtc/common_video/h264/h264_bitstream_parser.h
 | 
| index 0b84e4023417c67e226aad74f90ac237ae82066b..aa0155239a0eced499b928a82f106dfb0406cd35 100644
 | 
| --- a/webrtc/common_video/h264/h264_bitstream_parser.h
 | 
| +++ b/webrtc/common_video/h264/h264_bitstream_parser.h
 | 
| @@ -31,6 +31,12 @@ namespace webrtc {
 | 
|  // bitstreams.
 | 
|  class H264BitstreamParser {
 | 
|   public:
 | 
| +  enum Result {
 | 
| +    kOk,
 | 
| +    kInvalidStream,
 | 
| +    kUnsupportedStream,
 | 
| +  };
 | 
| +
 | 
|    H264BitstreamParser();
 | 
|    virtual ~H264BitstreamParser();
 | 
|  
 | 
| @@ -42,9 +48,9 @@ class H264BitstreamParser {
 | 
|  
 | 
|   protected:
 | 
|    void ParseSlice(const uint8_t* slice, size_t length);
 | 
| -  bool ParseNonParameterSetNalu(const uint8_t* source,
 | 
| -                                size_t source_length,
 | 
| -                                uint8_t nalu_type);
 | 
| +  Result ParseNonParameterSetNalu(const uint8_t* source,
 | 
| +                                  size_t source_length,
 | 
| +                                  uint8_t nalu_type);
 | 
|  
 | 
|    // SPS/PPS state, updated when parsing new SPS/PPS, used to parse slices.
 | 
|    rtc::Optional<SpsParser::SpsState> sps_;
 | 
| 
 |