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

Side by Side Diff: chrome/browser/media/router/media_router_feature.h

Issue 2837363002: [Media Router] Use DialMediaSinkService in MediaRouterMojoImpl (Closed)
Patch Set: resolve code review comments from Kevin Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_
7 7
8 namespace content { 8 namespace content {
9 class BrowserContext; 9 class BrowserContext;
10 } 10 }
11 11
12 namespace media_router { 12 namespace media_router {
13 13
14 // Returns true if Media Router is enabled for |context|. 14 // Returns true if Media Router is enabled for |context|.
15 bool MediaRouterEnabled(content::BrowserContext* context); 15 bool MediaRouterEnabled(content::BrowserContext* context);
16 16
17 #if !defined(OS_ANDROID)
18 // Returns true if browser side DIAL discovery is enabled.
19 bool DialLocalDiscoveryEnabled();
20
21 // Returns true if browser side Cast discovery is enabled.
22 bool CastDiscoveryEnabled();
23 #endif
24
17 } // namespace media_router 25 } // namespace media_router
18 26
19 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_ 27 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698