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

Unified Diff: remoting/protocol/util.h

Issue 11418102: Linux: fix header includes for system protobuf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/message_decoder.h ('k') | third_party/protobuf/protobuf.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/util.h
diff --git a/remoting/protocol/util.h b/remoting/protocol/util.h
index a40a9aaa0b1447edf6e2b665a8ac5d849d7e9ccf..ebcd5e28fe4467c0b7aaa34fa0023510bcabb145 100644
--- a/remoting/protocol/util.h
+++ b/remoting/protocol/util.h
@@ -9,7 +9,12 @@
#define REMOTING_PROTOCOL_UTIL_H_
#include "net/base/io_buffer.h"
+
+#if defined(USE_SYSTEM_PROTOBUF)
+#include <google/protobuf/message_lite.h>
+#else
#include "third_party/protobuf/src/google/protobuf/message_lite.h"
+#endif
namespace remoting {
namespace protocol {
« no previous file with comments | « remoting/protocol/message_decoder.h ('k') | third_party/protobuf/protobuf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698