Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 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 | |
| 13 #ifndef WEBRTC_BASE_PROTOBUF_UTILS_H_ | |
| 14 #define WEBRTC_BASE_PROTOBUF_UTILS_H_ | |
| 15 | |
| 16 typedef std::string ProtoString; | |
|
kwiberg-webrtc
2017/03/22 10:03:22
using ProtoString = std::string;
How are you maki
mbonadei
2017/03/23 16:13:58
Done.
| |
| 17 | |
| 18 #ifdef WEBRTC_ENABLE_PROTOBUF | |
|
kwiberg-webrtc
2017/03/22 10:03:22
When adding new preprocessor define, please always
mbonadei
2017/03/23 16:13:58
Done and thanks for pointing this out. I was not a
| |
| 19 | |
| 20 #include "third_party/protobuf/src/google/protobuf/message_lite.h" | |
| 21 #include "third_party/protobuf/src/google/protobuf/repeated_field.h" | |
| 22 | |
| 23 using google::protobuf::MessageLite; | |
| 24 using google::protobuf::RepeatedPtrField; | |
| 25 | |
| 26 #endif // WEBRTC_ENABLE_PROTOBUF | |
| 27 | |
| 28 #endif // WEBRTC_BASE_PROTOBUF_UTILS_H_ | |
|
kwiberg-webrtc
2017/03/22 10:03:22
The things in this header are put in the root name
| |
| OLD | NEW |