| 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 "mojo/public/cpp/bindings/type_converter.h" | 18 #include "mojo/public/cpp/bindings/type_converter.h" |
| 18 #include "services/service_manager/public/cpp/interface_provider.h" | 19 #include "services/service_manager/public/cpp/interface_provider.h" |
| 19 #include "third_party/WebKit/public/platform/WebString.h" | 20 #include "third_party/WebKit/public/platform/WebString.h" |
| 20 #include "third_party/WebKit/public/platform/WebURL.h" | 21 #include "third_party/WebKit/public/platform/WebURL.h" |
| 21 #include "third_party/WebKit/public/platform/WebVector.h" | 22 #include "third_party/WebKit/public/platform/WebVector.h" |
| 22 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nAvailabilityObserver.h" | 23 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nAvailabilityObserver.h" |
| 23 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nController.h" | 24 #include "third_party/WebKit/public/platform/modules/presentation/WebPresentatio
nController.h" |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 PresentationDispatcher::AvailabilityStatus::AvailabilityStatus( | 570 PresentationDispatcher::AvailabilityStatus::AvailabilityStatus( |
| 570 const GURL& availability_url) | 571 const GURL& availability_url) |
| 571 : url(availability_url), | 572 : url(availability_url), |
| 572 last_known_availability(false), | 573 last_known_availability(false), |
| 573 listening_state(ListeningState::INACTIVE) {} | 574 listening_state(ListeningState::INACTIVE) {} |
| 574 | 575 |
| 575 PresentationDispatcher::AvailabilityStatus::~AvailabilityStatus() { | 576 PresentationDispatcher::AvailabilityStatus::~AvailabilityStatus() { |
| 576 } | 577 } |
| 577 | 578 |
| 578 } // namespace content | 579 } // namespace content |
| OLD | NEW |