| Index: media/cast/logging/proto/proto_utils.h
|
| diff --git a/media/cast/logging/proto/proto_utils.h b/media/cast/logging/proto/proto_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..51232fdb9644286876fd2b7d8384486164818b4e
|
| --- /dev/null
|
| +++ b/media/cast/logging/proto/proto_utils.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_
|
| +#define MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_
|
| +
|
| +#include "media/cast/logging/logging_defines.h"
|
| +#include "media/cast/logging/proto/raw_events.pb.h"
|
| +
|
| +// Utility functions for cast logging protos.
|
| +namespace media {
|
| +namespace cast {
|
| +
|
| +// Converts |event| to a corresponding value in |media::cast::proto::EventType|.
|
| +media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event);
|
| +
|
| +} // namespace cast
|
| +} // namespace media
|
| +
|
| +#endif // MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_
|
|
|