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

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

Issue 1693563002: PROTOTYPE: PlzNavigate: use a Mojo data pipe to stream navigation data to the renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 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 "content/browser/frame_host/navigator.h" 5 #include "content/browser/frame_host/navigator.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "content/common/resource_request_body.h" 8 #include "content/common/resource_request_body.h"
9 #include "content/public/browser/stream_handle.h" 9 #include "content/public/browser/stream_handle.h"
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 void Navigator::OnBeginNavigation( 38 void Navigator::OnBeginNavigation(
39 FrameTreeNode* frame_tree_node, 39 FrameTreeNode* frame_tree_node,
40 const CommonNavigationParams& common_params, 40 const CommonNavigationParams& common_params,
41 const BeginNavigationParams& begin_params, 41 const BeginNavigationParams& begin_params,
42 scoped_refptr<ResourceRequestBody> body) { 42 scoped_refptr<ResourceRequestBody> body) {
43 } 43 }
44 44
45 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node, 45 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node,
46 ResourceResponse* response, 46 ResourceResponse* response,
47 scoped_ptr<StreamHandle> body) { 47 scoped_ptr<StreamHandle> body,
48 mojo::ScopedDataPipeConsumerHandle data_consume r_handle) {
49 }
50 void Navigator::CommitNavigation(FrameTreeNode* frame_tree_node,
51 ResourceResponse* response,
52 scoped_ptr<StreamHandle> body) {
53 CommitNavigation(frame_tree_node, response, std::move(body), mojo::ScopedDataP ipeConsumerHandle());
48 } 54 }
49 55
50 } // namespace content 56 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698