| 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 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
| 17 #include "chrome/browser/media/router/issue.h" | 17 #include "chrome/browser/media/router/issue.h" |
| 18 #include "chrome/browser/media/router/media_source.h" | 18 #include "chrome/browser/media/router/media_source.h" |
| 19 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" | 19 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" |
| 20 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" | 20 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" |
| 21 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" | 21 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" |
| 22 #include "chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h" | 22 #include "chrome/browser/ui/webui/media_router/media_sink_with_cast_modes.h" |
| 23 #include "chrome/browser/ui/webui/media_router/query_result_manager.h" | 23 #include "chrome/browser/ui/webui/media_router/query_result_manager.h" |
| 24 #include "content/public/browser/web_ui_data_source.h" | 24 #include "content/public/browser/web_ui_data_source.h" |
| 25 #include "third_party/icu/source/common/unicode/uversion.h" | 25 #include "third_party/icu/source/common/unicode/uversion.h" |
| 26 #include "url/gurl.h" |
| 26 | 27 |
| 27 namespace content { | 28 namespace content { |
| 28 class WebContents; | 29 class WebContents; |
| 29 } | 30 } |
| 30 | 31 |
| 31 namespace extensions { | 32 namespace extensions { |
| 32 class ExtensionRegistry; | 33 class ExtensionRegistry; |
| 33 } | 34 } |
| 34 | 35 |
| 35 namespace U_ICU_NAMESPACE { | 36 namespace U_ICU_NAMESPACE { |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 // NOTE: Weak pointers must be invalidated before all other member variables. | 334 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 334 // Therefore |weak_factory_| must be placed at the end. | 335 // Therefore |weak_factory_| must be placed at the end. |
| 335 base::WeakPtrFactory<MediaRouterUI> weak_factory_; | 336 base::WeakPtrFactory<MediaRouterUI> weak_factory_; |
| 336 | 337 |
| 337 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); | 338 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); |
| 338 }; | 339 }; |
| 339 | 340 |
| 340 } // namespace media_router | 341 } // namespace media_router |
| 341 | 342 |
| 342 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 343 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| OLD | NEW |