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

Unified Diff: src/pkg/mdns/mdns_extension_linux.cc

Issue 1407123010: Extend the mDNS package with a native extension used on Mac OS (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Addressed review comments Created 5 years, 2 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
« no previous file with comments | « src/pkg/mdns/mdns_extension.cc ('k') | src/pkg/mdns/mdns_extension_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/mdns/mdns_extension_linux.cc
diff --git a/src/pkg/mdns/mdns_extension_linux.cc b/src/pkg/mdns/mdns_extension_linux.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9ab4d2b48b4d742387af38d7c5f308c5b31d1bf5
--- /dev/null
+++ b/src/pkg/mdns/mdns_extension_linux.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE.md file.
+
+#if defined(FLETCH_TARGET_OS_LINUX)
+
+#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "include/dart_api.h"
+#include "include/dart_native_api.h"
+
+#include "mdns_extension.h"
+
+// Dummy implementation for Linux.
+void HandleLookup(Dart_Port port_id, char* adress) {}
+
+#endif
« no previous file with comments | « src/pkg/mdns/mdns_extension.cc ('k') | src/pkg/mdns/mdns_extension_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698