1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_
6 #define MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_
8 #include "media/cast/logging/logging_defines.h"
9 #include "media/cast/logging/proto/raw_events.pb.h"
11 // Utility functions for cast logging protos.
15 // Converts |event| to a corresponding value in |media::cast::proto::EventType|.
16 media::cast::proto::EventType
ToProtoEventType(CastLoggingEvent event
);
21 #endif // MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_