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

Unified Diff: chrome/browser/media/router/media_route_provider_util.h

Issue 1821823002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compile and build dependency issues Created 4 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/browser/media/router/media_route_provider_util.h
diff --git a/chrome/browser/media/router/media_route_provider_util.h b/chrome/browser/media/router/media_route_provider_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..0973c9ad8c817adab2d6291aeb37e7e91373dc6f
--- /dev/null
+++ b/chrome/browser/media/router/media_route_provider_util.h
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_H_
+
+#include "chrome/browser/media/router/media_router_mojo_impl.h"
+
+namespace media_router {
+
+#if defined(OS_WIN)
mark a. foltz 2016/03/24 22:59:32 If you name these media_router_provider_util_win.{
btolsch 2016/03/25 04:40:50 Done but should I leave the include in media_route
+void CanFirewallUseLocalPorts(MediaRouterMojoImpl* router);
mark a. foltz 2016/03/24 22:59:33 It's not a good pattern to pass a pointer to the c
mark a. foltz 2016/03/24 23:02:10 Correction: Have this method post a task to run i
btolsch 2016/03/25 04:40:50 Done.
+#endif
+
+} // namespace media_router
+
+#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698