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

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

Issue 1805813002: [Media Router] Wiring for searching route providers for new sinks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clarifying pseudo sink comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/router/media_router.h ('k') | chrome/browser/media/router/mojo/media_router.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/mock_media_router.h
diff --git a/chrome/browser/media/router/mock_media_router.h b/chrome/browser/media/router/mock_media_router.h
index b9dd44639cc81e9a4213cfeeec8d35c7a92b170a..9d57b300015ea5db7c681046da1928d8cd32be43 100644
--- a/chrome/browser/media/router/mock_media_router.h
+++ b/chrome/browser/media/router/mock_media_router.h
@@ -68,6 +68,18 @@ class MockMediaRouter : public MediaRouter {
MOCK_METHOD1(AddIssue, void(const Issue& issue));
MOCK_METHOD1(ClearIssue, void(const Issue::Id& issue_id));
MOCK_METHOD0(OnUserGesture, void());
+ MOCK_METHOD10(
+ SearchSinksAndCreateRoute,
+ void(const MediaSource::Id& source_id,
+ const MediaSink::Id& sink_id,
+ const std::string& search_input,
+ const std::string& domain,
+ const GURL& origin,
+ content::WebContents* web_contents,
+ const std::vector<MediaRouteResponseCallback>& route_callbacks,
+ const MediaSinkSearchResponseCallback& sink_callback,
+ base::TimeDelta timeout,
+ bool off_the_record));
MOCK_METHOD1(OnPresentationSessionDetached,
void(const MediaRoute::Id& route_id));
std::unique_ptr<PresentationConnectionStateSubscription>
« no previous file with comments | « chrome/browser/media/router/media_router.h ('k') | chrome/browser/media/router/mojo/media_router.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698