OLD | NEW |
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 #include "chrome/browser/ui/webui/media_router/media_router_ui.h" | 5 #include "chrome/browser/ui/webui/media_router/media_router_ui.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "chrome/browser/media/router/create_presentation_session_request.h" | 10 #include "chrome/browser/media/router/create_presentation_session_request.h" |
11 #include "chrome/browser/media/router/issue.h" | 11 #include "chrome/browser/media/router/issue.h" |
12 #include "chrome/browser/media/router/issues_observer.h" | 12 #include "chrome/browser/media/router/issues_observer.h" |
13 #include "chrome/browser/media/router/media_route.h" | 13 #include "chrome/browser/media/router/media_route.h" |
14 #include "chrome/browser/media/router/media_router.h" | 14 #include "chrome/browser/media/router/media_router.h" |
15 #include "chrome/browser/media/router/media_router_factory.h" | 15 #include "chrome/browser/media/router/media_router_factory.h" |
16 #include "chrome/browser/media/router/media_router_mojo_impl.h" | 16 #include "chrome/browser/media/router/media_router_mojo_impl.h" |
17 #include "chrome/browser/media/router/media_routes_observer.h" | 17 #include "chrome/browser/media/router/media_routes_observer.h" |
18 #include "chrome/browser/media/router/media_sink.h" | 18 #include "chrome/browser/media/router/media_sink.h" |
19 #include "chrome/browser/media/router/media_sinks_observer.h" | 19 #include "chrome/browser/media/router/media_sinks_observer.h" |
20 #include "chrome/browser/media/router/media_source.h" | 20 #include "chrome/browser/media/router/media_source.h" |
21 #include "chrome/browser/media/router/media_source_helper.h" | 21 #include "chrome/browser/media/router/media_source_helper.h" |
22 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" | 22 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" |
23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/browser/sessions/session_tab_helper.h" | 24 #include "chrome/browser/sessions/session_tab_helper.h" |
25 #include "chrome/browser/ui/webui/media_router/media_router_dialog_controller_im
pl.h" | |
26 #include "chrome/browser/ui/webui/media_router/media_router_localized_strings_pr
ovider.h" | 25 #include "chrome/browser/ui/webui/media_router/media_router_localized_strings_pr
ovider.h" |
27 #include "chrome/browser/ui/webui/media_router/media_router_resources_provider.h
" | 26 #include "chrome/browser/ui/webui/media_router/media_router_resources_provider.h
" |
28 #include "chrome/browser/ui/webui/media_router/media_router_webui_message_handle
r.h" | 27 #include "chrome/browser/ui/webui/media_router/media_router_webui_message_handle
r.h" |
29 #include "chrome/common/url_constants.h" | 28 #include "chrome/common/url_constants.h" |
30 #include "content/public/browser/web_contents.h" | 29 #include "content/public/browser/web_contents.h" |
31 #include "content/public/browser/web_ui.h" | 30 #include "content/public/browser/web_ui.h" |
32 #include "content/public/browser/web_ui_data_source.h" | 31 #include "content/public/browser/web_ui_data_source.h" |
33 #include "ui/web_dialogs/web_dialog_delegate.h" | 32 #include "ui/web_dialogs/web_dialog_delegate.h" |
34 | 33 |
35 namespace media_router { | 34 namespace media_router { |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 | 354 |
356 std::string MediaRouterUI::GetFrameURLHost() const { | 355 std::string MediaRouterUI::GetFrameURLHost() const { |
357 return GetHostFromURL(frame_url_); | 356 return GetHostFromURL(frame_url_); |
358 } | 357 } |
359 | 358 |
360 const std::string& MediaRouterUI::GetRouteProviderExtensionId() const { | 359 const std::string& MediaRouterUI::GetRouteProviderExtensionId() const { |
361 return router_->media_route_provider_extension_id(); | 360 return router_->media_route_provider_extension_id(); |
362 } | 361 } |
363 | 362 |
364 } // namespace media_router | 363 } // namespace media_router |
OLD | NEW |