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 "content/browser/frame_host/navigator_impl.h" | 5 #include "content/browser/frame_host/navigator_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "content/common/view_messages.h" | 32 #include "content/common/view_messages.h" |
33 #include "content/public/browser/browser_context.h" | 33 #include "content/public/browser/browser_context.h" |
34 #include "content/public/browser/content_browser_client.h" | 34 #include "content/public/browser/content_browser_client.h" |
35 #include "content/public/browser/global_request_id.h" | 35 #include "content/public/browser/global_request_id.h" |
36 #include "content/public/browser/invalidate_type.h" | 36 #include "content/public/browser/invalidate_type.h" |
37 #include "content/public/browser/navigation_controller.h" | 37 #include "content/public/browser/navigation_controller.h" |
38 #include "content/public/browser/navigation_details.h" | 38 #include "content/public/browser/navigation_details.h" |
39 #include "content/public/browser/page_navigator.h" | 39 #include "content/public/browser/page_navigator.h" |
40 #include "content/public/browser/render_view_host.h" | 40 #include "content/public/browser/render_view_host.h" |
41 #include "content/public/browser/stream_handle.h" | 41 #include "content/public/browser/stream_handle.h" |
42 #include "content/public/browser/user_metrics.h" | |
43 #include "content/public/common/bindings_policy.h" | 42 #include "content/public/common/bindings_policy.h" |
44 #include "content/public/common/browser_side_navigation_policy.h" | 43 #include "content/public/common/browser_side_navigation_policy.h" |
45 #include "content/public/common/content_client.h" | 44 #include "content/public/common/content_client.h" |
46 #include "content/public/common/content_constants.h" | 45 #include "content/public/common/content_constants.h" |
47 #include "content/public/common/resource_response.h" | 46 #include "content/public/common/resource_response.h" |
48 #include "net/base/net_errors.h" | 47 #include "net/base/net_errors.h" |
49 #include "url/gurl.h" | 48 #include "url/gurl.h" |
50 #include "url/url_util.h" | 49 #include "url/url_util.h" |
51 | 50 |
52 namespace content { | 51 namespace content { |
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 if (navigation_handle) | 1293 if (navigation_handle) |
1295 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID()); | 1294 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID()); |
1296 | 1295 |
1297 controller_->SetPendingEntry(std::move(entry)); | 1296 controller_->SetPendingEntry(std::move(entry)); |
1298 if (delegate_) | 1297 if (delegate_) |
1299 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL); | 1298 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL); |
1300 } | 1299 } |
1301 } | 1300 } |
1302 | 1301 |
1303 } // namespace content | 1302 } // namespace content |
OLD | NEW |