| 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" | |
| 18 #include "chrome/browser/media/router/media_source.h" | |
| 19 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" | 17 #include "chrome/browser/media/router/presentation_service_delegate_impl.h" |
| 20 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" | 18 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" |
| 21 #include "chrome/browser/ui/webui/media_router/media_cast_mode.h" | 19 #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" | 20 #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" | 21 #include "chrome/browser/ui/webui/media_router/query_result_manager.h" |
| 22 #include "chrome/common/media_router/issue.h" |
| 23 #include "chrome/common/media_router/media_source.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 #include "url/gurl.h" |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| 29 class WebContents; | 29 class WebContents; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace extensions { | 32 namespace extensions { |
| 33 class ExtensionRegistry; | 33 class ExtensionRegistry; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 // NOTE: Weak pointers must be invalidated before all other member variables. | 351 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 352 // Therefore |weak_factory_| must be placed at the end. | 352 // Therefore |weak_factory_| must be placed at the end. |
| 353 base::WeakPtrFactory<MediaRouterUI> weak_factory_; | 353 base::WeakPtrFactory<MediaRouterUI> weak_factory_; |
| 354 | 354 |
| 355 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); | 355 DISALLOW_COPY_AND_ASSIGN(MediaRouterUI); |
| 356 }; | 356 }; |
| 357 | 357 |
| 358 } // namespace media_router | 358 } // namespace media_router |
| 359 | 359 |
| 360 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ | 360 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_UI_H_ |
| OLD | NEW |