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

Unified Diff: dbus/message.cc

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
Index: dbus/message.cc
diff --git a/dbus/message.cc b/dbus/message.cc
index af3c1c575550ad6f64e1eb1e6cfa9164d2925d0c..afcd9320a1db9ee9823d5fdcfe4837e8487def80 100644
--- a/dbus/message.cc
+++ b/dbus/message.cc
@@ -12,7 +12,12 @@
#include "base/string_util.h"
#include "base/stringprintf.h"
#include "dbus/object_path.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 {
« no previous file with comments | « chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc ('k') | remoting/protocol/message_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698