Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: webrtc/base/protobuf_utils.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/platform_thread_unittest.cc ('k') | webrtc/base/proxy_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <string> 11 #include <string>
12 12
13 #ifndef WEBRTC_BASE_PROTOBUF_UTILS_H_ 13 #ifndef WEBRTC_BASE_PROTOBUF_UTILS_H_
14 #define WEBRTC_BASE_PROTOBUF_UTILS_H_ 14 #define WEBRTC_BASE_PROTOBUF_UTILS_H_
15 15
16 namespace webrtc {
17 16
18 using ProtoString = std::string; 17 // This header is deprecated and is just left here temporarily during
19 18 // refactoring. See https://bugs.webrtc.org/7634 for more details.
20 } // namespace webrtc 19 #include "webrtc/rtc_base/protobuf_utils.h"
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
27 namespace webrtc {
28
29 using google::protobuf::MessageLite;
30 using google::protobuf::RepeatedPtrField;
31
32 } // namespace webrtc
33
34 #endif // WEBRTC_ENABLE_PROTOBUF
35 20
36 #endif // WEBRTC_BASE_PROTOBUF_UTILS_H_ 21 #endif // WEBRTC_BASE_PROTOBUF_UTILS_H_
OLDNEW
« no previous file with comments | « webrtc/base/platform_thread_unittest.cc ('k') | webrtc/base/proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698