| 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 "chrome/browser/chromeos/arc/arc_navigation_throttle.h" | 5 #include "chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/metrics/histogram_macros.h" | 12 #include "base/metrics/histogram_macros.h" |
| 13 #include "components/arc/arc_bridge_service.h" | 13 #include "components/arc/arc_bridge_service.h" |
| 14 #include "components/arc/arc_service_manager.h" | 14 #include "components/arc/arc_service_manager.h" |
| 15 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" | 15 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 } | 378 } |
| 379 | 379 |
| 380 // static | 380 // static |
| 381 bool ArcNavigationThrottle::IsSwapElementsNeededForTesting( | 381 bool ArcNavigationThrottle::IsSwapElementsNeededForTesting( |
| 382 const mojo::Array<mojom::IntentHandlerInfoPtr>& handlers, | 382 const mojo::Array<mojom::IntentHandlerInfoPtr>& handlers, |
| 383 std::pair<size_t, size_t>* out_indices) { | 383 std::pair<size_t, size_t>* out_indices) { |
| 384 return IsSwapElementsNeeded(handlers, out_indices); | 384 return IsSwapElementsNeeded(handlers, out_indices); |
| 385 } | 385 } |
| 386 | 386 |
| 387 } // namespace arc | 387 } // namespace arc |
| OLD | NEW |