blob: 8fbc06060eb472df3c8785d6dcabfa01e1ea92a6 [file] [log] [blame]
mbonadei7c2c8432017-04-07 00:59:12 -07001/*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include <string>
12
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020013#ifndef RTC_BASE_PROTOBUF_UTILS_H_
14#define RTC_BASE_PROTOBUF_UTILS_H_
mbonadei7c2c8432017-04-07 00:59:12 -070015
Henrik Kjellanderec78f1c2017-06-29 07:52:50 +020016namespace webrtc {
mbonadei7c2c8432017-04-07 00:59:12 -070017
Henrik Kjellanderec78f1c2017-06-29 07:52:50 +020018using ProtoString = std::string;
19
20} // namespace webrtc
21
22#if WEBRTC_ENABLE_PROTOBUF
23
24#include "third_party/protobuf/src/google/protobuf/message_lite.h"
25#include "third_party/protobuf/src/google/protobuf/repeated_field.h"
26
27namespace webrtc {
28
29using google::protobuf::MessageLite;
30using google::protobuf::RepeatedPtrField;
31
32} // namespace webrtc
33
34#endif // WEBRTC_ENABLE_PROTOBUF
mbonadei7c2c8432017-04-07 00:59:12 -070035
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020036#endif // RTC_BASE_PROTOBUF_UTILS_H_