| 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 "ios/web/navigation/navigation_item_impl.h" | 5 #import "ios/web/navigation/navigation_item_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| 11 | 11 |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "components/url_formatter/url_formatter.h" | 13 #include "components/url_formatter/url_formatter.h" |
| 14 #include "ui/base/page_transition_types.h" | 14 #include "ui/base/page_transition_types.h" |
| 15 #include "ui/gfx/text_elider.h" | 15 #include "ui/gfx/text_elider.h" |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 http_request_headers_.reset(); | 284 http_request_headers_.reset(); |
| 285 } | 285 } |
| 286 | 286 |
| 287 void NavigationItemImpl::ResetForCommit() { | 287 void NavigationItemImpl::ResetForCommit() { |
| 288 // Any state that only matters when a navigation item is pending should be | 288 // Any state that only matters when a navigation item is pending should be |
| 289 // cleared here. | 289 // cleared here. |
| 290 set_is_renderer_initiated(false); | 290 set_is_renderer_initiated(false); |
| 291 } | 291 } |
| 292 | 292 |
| 293 } // namespace web | 293 } // namespace web |
| OLD | NEW |