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 "content/renderer/presentation/presentation_dispatcher.h" | 5 #include "content/renderer/presentation/presentation_dispatcher.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
| 14 #include "base/stl_util.h" |
14 #include "base/threading/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
15 #include "content/public/common/presentation_constants.h" | 16 #include "content/public/common/presentation_constants.h" |
16 #include "content/public/renderer/render_frame.h" | 17 #include "content/public/renderer/render_frame.h" |
17 #include "content/renderer/presentation/presentation_connection_proxy.h" | 18 #include "content/renderer/presentation/presentation_connection_proxy.h" |
18 #include "mojo/public/cpp/bindings/type_converter.h" | 19 #include "mojo/public/cpp/bindings/type_converter.h" |
19 #include "services/service_manager/public/cpp/interface_provider.h" | 20 #include "services/service_manager/public/cpp/interface_provider.h" |
20 #include "third_party/WebKit/public/platform/WebString.h" | 21 #include "third_party/WebKit/public/platform/WebString.h" |
21 #include "third_party/WebKit/public/platform/WebURL.h" | 22 #include "third_party/WebKit/public/platform/WebURL.h" |
22 #include "third_party/WebKit/public/platform/WebVector.h" | 23 #include "third_party/WebKit/public/platform/WebVector.h" |
23 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nAvailabilityObserver.h" | 24 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nAvailabilityObserver.h" |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 | 761 |
761 PresentationDispatcher::ListeningStatus::ListeningStatus( | 762 PresentationDispatcher::ListeningStatus::ListeningStatus( |
762 const GURL& availability_url) | 763 const GURL& availability_url) |
763 : url(availability_url), | 764 : url(availability_url), |
764 last_known_availability(ScreenAvailability::UNKNOWN), | 765 last_known_availability(ScreenAvailability::UNKNOWN), |
765 listening_state(ListeningState::INACTIVE) {} | 766 listening_state(ListeningState::INACTIVE) {} |
766 | 767 |
767 PresentationDispatcher::ListeningStatus::~ListeningStatus() {} | 768 PresentationDispatcher::ListeningStatus::~ListeningStatus() {} |
768 | 769 |
769 } // namespace content | 770 } // namespace content |
OLD | NEW |