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

Side by Side Diff: chrome/browser/media/android/router/media_router_android.h

Issue 1846673002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Patch-up newly-added test. Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/media/android/router/media_router_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_
6 #define CHROME_BROWSER_MEDIA_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_ 6 #define CHROME_BROWSER_MEDIA_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void TerminateRoute(const MediaRoute::Id& route_id) override; 57 void TerminateRoute(const MediaRoute::Id& route_id) override;
58 void SendRouteMessage(const MediaRoute::Id& route_id, 58 void SendRouteMessage(const MediaRoute::Id& route_id,
59 const std::string& message, 59 const std::string& message,
60 const SendRouteMessageCallback& callback) override; 60 const SendRouteMessageCallback& callback) override;
61 void SendRouteBinaryMessage( 61 void SendRouteBinaryMessage(
62 const MediaRoute::Id& route_id, 62 const MediaRoute::Id& route_id,
63 scoped_ptr<std::vector<uint8_t>> data, 63 scoped_ptr<std::vector<uint8_t>> data,
64 const SendRouteMessageCallback& callback) override; 64 const SendRouteMessageCallback& callback) override;
65 void AddIssue(const Issue& issue) override; 65 void AddIssue(const Issue& issue) override;
66 void ClearIssue(const Issue::Id& issue_id) override; 66 void ClearIssue(const Issue::Id& issue_id) override;
67 void OnUserGesture() override;
67 68
68 // The methods called by the Java counterpart. 69 // The methods called by the Java counterpart.
69 70
70 // Notifies the media router that information about sinks is received for 71 // Notifies the media router that information about sinks is received for
71 // a specific source URN. 72 // a specific source URN.
72 void OnSinksReceived(JNIEnv* env, 73 void OnSinksReceived(JNIEnv* env,
73 const base::android::JavaParamRef<jobject>& obj, 74 const base::android::JavaParamRef<jobject>& obj,
74 const base::android::JavaParamRef<jstring>& jsource_urn, 75 const base::android::JavaParamRef<jstring>& jsource_urn,
75 jint jcount); 76 jint jcount);
76 77
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 MediaRoute::Id, 161 MediaRoute::Id,
161 scoped_ptr<base::ObserverList<PresentationSessionMessagesObserver>>>; 162 scoped_ptr<base::ObserverList<PresentationSessionMessagesObserver>>>;
162 MessagesObservers messages_observers_; 163 MessagesObservers messages_observers_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(MediaRouterAndroid); 165 DISALLOW_COPY_AND_ASSIGN(MediaRouterAndroid);
165 }; 166 };
166 167
167 } // namespace media_router 168 } // namespace media_router
168 169
169 #endif // CHROME_BROWSER_MEDIA_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_ 170 #endif // CHROME_BROWSER_MEDIA_ANDROID_ROUTER_MEDIA_ROUTER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/android/router/media_router_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698