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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_ui.h

Issue 2176613003: [Media Router] Clean up issues related code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 4 years 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/ui/webui/media_router/media_router_ui.h
diff --git a/chrome/browser/ui/webui/media_router/media_router_ui.h b/chrome/browser/ui/webui/media_router/media_router_ui.h
index c78740e2157bb0e60c83acac86e2386f1e9ecc99..e8e2901c0e42e8527f79dc0b31fe898379245e8e 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui.h
+++ b/chrome/browser/ui/webui/media_router/media_router_ui.h
@@ -113,7 +113,7 @@ class MediaRouterUI : public ConstrainedWebDialogUI,
void CloseRoute(const MediaRoute::Id& route_id);
// Calls MediaRouter to add the given issue.
- void AddIssue(const Issue& issue);
+ void AddIssue(const IssueInfo& issue);
// Calls MediaRouter to clear the given issue.
void ClearIssue(const Issue::Id& issue_id);
@@ -220,7 +220,8 @@ class MediaRouterUI : public ConstrainedWebDialogUI,
// Called by |issues_observer_| when the top issue has changed.
// If the UI is already initialized, notifies |handler_| to update the UI.
// Ignored if the UI is not yet initialized.
- void SetIssue(const Issue* issue);
+ void SetIssue(const Issue& issue);
+ void ClearIssue();
// Called by |routes_observer_| when the set of active routes has changed.
void OnRoutesUpdated(const std::vector<MediaRoute>& routes,

Powered by Google App Engine
This is Rietveld 408576698