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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_test.h

Issue 2324133003: [Media Router] Use TimeDelta in mojo interfaces (Closed)
Patch Set: Fix mojo test compile Created 4 years, 3 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/mojo/media_router_mojo_test.h
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_test.h b/chrome/browser/media/router/mojo/media_router_mojo_test.h
index 4aae8805d1cc9212f03459932b26538fcaf85536..72609c897287e29047a4bb6de154e154f6e61f6f 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_test.h
+++ b/chrome/browser/media/router/mojo/media_router_mojo_test.h
@@ -36,7 +36,7 @@ class MockMediaRouteProvider : public mojom::MediaRouteProvider {
const std::string& presentation_id,
const std::string& origin,
int tab_id,
- int64_t timeout_secs,
+ base::TimeDelta timeout,
bool incognito,
const CreateRouteCallback& callback));
MOCK_METHOD7(JoinRoute,
@@ -44,7 +44,7 @@ class MockMediaRouteProvider : public mojom::MediaRouteProvider {
const std::string& presentation_id,
const std::string& origin,
int tab_id,
- int64_t timeout_secs,
+ base::TimeDelta timeout,
bool incognito,
const JoinRouteCallback& callback));
MOCK_METHOD8(ConnectRouteByRouteId,
@@ -53,7 +53,7 @@ class MockMediaRouteProvider : public mojom::MediaRouteProvider {
const std::string& presentation_id,
const std::string& origin,
int tab_id,
- int64_t timeout_secs,
+ base::TimeDelta timeout,
bool incognito,
const JoinRouteCallback& callback));
MOCK_METHOD1(DetachRoute, void(const std::string& route_id));

Powered by Google App Engine
This is Rietveld 408576698