Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / media / cast / logging / proto / proto_utils.h
blob51232fdb9644286876fd2b7d8384486164818b4e
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.
12 namespace media {
13 namespace cast {
15 // Converts |event| to a corresponding value in |media::cast::proto::EventType|.
16 media::cast::proto::EventType ToProtoEventType(CastLoggingEvent event);
18 } // namespace cast
19 } // namespace media
21 #endif // MEDIA_CAST_LOGGING_PROTO_PROTO_UTILS_H_