| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "modules/installedapp/InstalledAppController.h" | 5 #include "modules/installedapp/InstalledAppController.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/frame/LocalFrame.h" | 8 #include "core/frame/LocalFrame.h" |
| 9 #include "platform/wtf/Functional.h" |
| 9 #include "public/platform/InterfaceProvider.h" | 10 #include "public/platform/InterfaceProvider.h" |
| 10 #include "wtf/Functional.h" | |
| 11 | 11 |
| 12 #include <utility> | 12 #include <utility> |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 // Callbacks for the result of | 16 // Callbacks for the result of |
| 17 // WebRelatedAppsFetcher::getManifestRelatedApplications. Calls | 17 // WebRelatedAppsFetcher::getManifestRelatedApplications. Calls |
| 18 // filterByInstalledApps upon receiving the list of related applications. | 18 // filterByInstalledApps upon receiving the list of related applications. |
| 19 class InstalledAppController::GetRelatedAppsCallbacks | 19 class InstalledAppController::GetRelatedAppsCallbacks |
| 20 : public AppInstalledCallbacks { | 20 : public AppInstalledCallbacks { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 callbacks->OnSuccess( | 134 callbacks->OnSuccess( |
| 135 blink::WebVector<blink::WebRelatedApplication>(applications)); | 135 blink::WebVector<blink::WebRelatedApplication>(applications)); |
| 136 } | 136 } |
| 137 | 137 |
| 138 DEFINE_TRACE(InstalledAppController) { | 138 DEFINE_TRACE(InstalledAppController) { |
| 139 Supplement<LocalFrame>::Trace(visitor); | 139 Supplement<LocalFrame>::Trace(visitor); |
| 140 ContextLifecycleObserver::Trace(visitor); | 140 ContextLifecycleObserver::Trace(visitor); |
| 141 } | 141 } |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| OLD | NEW |