Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: content/browser/frame_host/navigator_impl.cc

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 11 matching lines...) Expand all
22 #include "content/browser/frame_host/navigator_delegate.h" 22 #include "content/browser/frame_host/navigator_delegate.h"
23 #include "content/browser/frame_host/render_frame_host_impl.h" 23 #include "content/browser/frame_host/render_frame_host_impl.h"
24 #include "content/browser/renderer_host/render_view_host_impl.h" 24 #include "content/browser/renderer_host/render_view_host_impl.h"
25 #include "content/browser/site_instance_impl.h" 25 #include "content/browser/site_instance_impl.h"
26 #include "content/browser/webui/web_ui_controller_factory_registry.h" 26 #include "content/browser/webui/web_ui_controller_factory_registry.h"
27 #include "content/browser/webui/web_ui_impl.h" 27 #include "content/browser/webui/web_ui_impl.h"
28 #include "content/common/frame_messages.h" 28 #include "content/common/frame_messages.h"
29 #include "content/common/navigation_params.h" 29 #include "content/common/navigation_params.h"
30 #include "content/common/page_messages.h" 30 #include "content/common/page_messages.h"
31 #include "content/common/site_isolation_policy.h" 31 #include "content/common/site_isolation_policy.h"
32 #include "content/common/url_loader_factory.mojom.h"
33 #include "content/common/view_messages.h" 32 #include "content/common/view_messages.h"
34 #include "content/public/browser/browser_context.h" 33 #include "content/public/browser/browser_context.h"
35 #include "content/public/browser/content_browser_client.h" 34 #include "content/public/browser/content_browser_client.h"
36 #include "content/public/browser/global_request_id.h" 35 #include "content/public/browser/global_request_id.h"
37 #include "content/public/browser/invalidate_type.h" 36 #include "content/public/browser/invalidate_type.h"
38 #include "content/public/browser/navigation_controller.h" 37 #include "content/public/browser/navigation_controller.h"
39 #include "content/public/browser/navigation_details.h" 38 #include "content/public/browser/navigation_details.h"
40 #include "content/public/browser/page_navigator.h" 39 #include "content/public/browser/page_navigator.h"
41 #include "content/public/browser/render_view_host.h" 40 #include "content/public/browser/render_view_host.h"
42 #include "content/public/browser/stream_handle.h" 41 #include "content/public/browser/stream_handle.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"
47 #include "content/public/common/url_loader_factory.mojom.h"
48 #include "net/base/net_errors.h" 48 #include "net/base/net_errors.h"
49 #include "url/gurl.h" 49 #include "url/gurl.h"
50 #include "url/url_util.h" 50 #include "url/url_util.h"
51 51
52 namespace content { 52 namespace content {
53 53
54 namespace { 54 namespace {
55 55
56 FrameMsg_Navigate_Type::Value GetNavigationType( 56 FrameMsg_Navigate_Type::Value GetNavigationType(
57 const GURL& old_url, 57 const GURL& old_url,
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1303 if (navigation_handle) 1303 if (navigation_handle)
1304 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID()); 1304 navigation_handle->update_entry_id_for_transfer(entry->GetUniqueID());
1305 1305
1306 controller_->SetPendingEntry(std::move(entry)); 1306 controller_->SetPendingEntry(std::move(entry));
1307 if (delegate_) 1307 if (delegate_)
1308 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL); 1308 delegate_->NotifyChangedNavigationState(content::INVALIDATE_TYPE_URL);
1309 } 1309 }
1310 } 1310 }
1311 1311
1312 } // namespace content 1312 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698