| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/guest_view/browser/guest_view_manager.h" | 5 #include "components/guest_view/browser/guest_view_manager.h" |
| 6 | 6 |
| 7 #include <tuple> | 7 #include <tuple> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 const GuestViewManager::ElementInstanceKey& other) const { | 486 const GuestViewManager::ElementInstanceKey& other) const { |
| 487 return (embedder_process_id == other.embedder_process_id) && | 487 return (embedder_process_id == other.embedder_process_id) && |
| 488 (element_instance_id == other.element_instance_id); | 488 (element_instance_id == other.element_instance_id); |
| 489 } | 489 } |
| 490 | 490 |
| 491 GuestViewManager::GuestViewData::GuestViewData( | 491 GuestViewManager::GuestViewData::GuestViewData( |
| 492 const GuestViewCreateFunction& create_function, | 492 const GuestViewCreateFunction& create_function, |
| 493 const GuestViewCleanUpFunction& cleanup_function) | 493 const GuestViewCleanUpFunction& cleanup_function) |
| 494 : create_function(create_function), cleanup_function(cleanup_function) {} | 494 : create_function(create_function), cleanup_function(cleanup_function) {} |
| 495 | 495 |
| 496 GuestViewManager::GuestViewData::GuestViewData(const GuestViewData& other) = |
| 497 default; |
| 498 |
| 496 GuestViewManager::GuestViewData::~GuestViewData() {} | 499 GuestViewManager::GuestViewData::~GuestViewData() {} |
| 497 | 500 |
| 498 } // namespace guest_view | 501 } // namespace guest_view |
| OLD | NEW |