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

Unified Diff: chrome/common/local_discovery/local_discovery_messages.h

Issue 184003002: Remove CreatePlatformFile from content shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/local_discovery/local_discovery_messages.h
diff --git a/chrome/common/local_discovery/local_discovery_messages.h b/chrome/common/local_discovery/local_discovery_messages.h
index e34ab6f455126283104be1c34536546545230ada..e597da3666de544923205bbc915b2e66cfd89c0a 100644
--- a/chrome/common/local_discovery/local_discovery_messages.h
+++ b/chrome/common/local_discovery/local_discovery_messages.h
@@ -4,9 +4,9 @@
// Defines local discovery messages between the browser and utility process.
+// Multiple-included file, no traditional include guard.
#include <vector>
-#include "base/file_descriptor_posix.h"
#include "chrome/common/local_discovery/service_discovery_client.h"
#include "ipc/ipc_message_macros.h"
@@ -14,6 +14,10 @@
#define CHROME_COMMON_LOCAL_DISCOVERY_LOCAL_DISCOVERY_MESSAGES_H_
#if defined(OS_POSIX)
+#include "base/file_descriptor_posix.h"
+#endif
+
Tom Sepez 2014/03/12 23:02:16 nit: two ifdef posix blocks back-to-back can be co
rvargas (doing something else) 2014/03/12 23:22:00 Right. I though about that but it feels wrong to m
+#if defined(OS_POSIX)
struct LocalDiscoveryMsg_SocketInfo {
LocalDiscoveryMsg_SocketInfo()
: address_family(net::ADDRESS_FAMILY_UNSPECIFIED),

Powered by Google App Engine
This is Rietveld 408576698