OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ios/web/navigation/navigation_manager_impl.h" | 5 #include "ios/web/navigation/navigation_manager_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/logging.h" | 9 #include "base/logging.h" |
8 #import "ios/web/navigation/crw_session_controller+private_constructors.h" | 10 #import "ios/web/navigation/crw_session_controller+private_constructors.h" |
9 #import "ios/web/navigation/crw_session_controller.h" | 11 #import "ios/web/navigation/crw_session_controller.h" |
10 #import "ios/web/navigation/crw_session_entry.h" | 12 #import "ios/web/navigation/crw_session_entry.h" |
11 #include "ios/web/navigation/navigation_item_impl.h" | 13 #include "ios/web/navigation/navigation_item_impl.h" |
12 #include "ios/web/navigation/navigation_manager_delegate.h" | 14 #include "ios/web/navigation/navigation_manager_delegate.h" |
13 #import "ios/web/navigation/navigation_manager_facade_delegate.h" | 15 #import "ios/web/navigation/navigation_manager_facade_delegate.h" |
14 #include "ios/web/public/load_committed_details.h" | 16 #include "ios/web/public/load_committed_details.h" |
15 #include "ios/web/public/navigation_item.h" | 17 #include "ios/web/public/navigation_item.h" |
16 #include "ios/web/public/web_state/web_state.h" | 18 #include "ios/web/public/web_state/web_state.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 transient_url_rewriters_.reset(); | 280 transient_url_rewriters_.reset(); |
279 } | 281 } |
280 | 282 |
281 void NavigationManagerImpl::CopyState( | 283 void NavigationManagerImpl::CopyState( |
282 NavigationManagerImpl* navigation_manager) { | 284 NavigationManagerImpl* navigation_manager) { |
283 SetSessionController( | 285 SetSessionController( |
284 [[navigation_manager->GetSessionController() copy] autorelease]); | 286 [[navigation_manager->GetSessionController() copy] autorelease]); |
285 } | 287 } |
286 | 288 |
287 } // namespace web | 289 } // namespace web |
OLD | NEW |