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

Side by Side Diff: content/browser/frame_host/navigation_before_commit_info.h

Issue 379143002: PlzNavigate: implement RequestNavigation in the no live renderer case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Charlie's comments Created 6 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "content/public/common/page_transition_types.h"
12 #include "content/public/common/referrer.h"
13 #include "url/gurl.h"
14
15 namespace content {
16
17 // Holds the parameters determined during the load of a navigation request
18 // until receiving the response. Initialized on the IO thread, then passed to
19 // the UI thread where it should be used to send a FrameMsg_CommitNavigation
20 // message to the renderer.
21 struct NavigationBeforeCommitInfo {
22 NavigationBeforeCommitInfo() {};
23
24 // The url that is actually being loaded.
25 GURL navigation_url;
26
27 // A url to be subsequently requested by the renderer as the main resource for
Charlie Reis 2014/07/30 23:37:32 Naming it |stream_url| helps, thanks. Maybe "A un
clamy 2014/08/05 11:52:44 Done.
28 // the frame, that will be used to find the associated stream of data.
29 GURL stream_url;
30
31 // TODO(clamy): Maybe add the redirect chain if needed by the renderer.
32
33 // The navigationStart time to expose to JS for this navigation.
34 // TODO(clamy): Add the other values that matter to the Navigation Timing API.
35 base::TimeTicks browser_navigation_start;
36 };
37
38 } // namespace content
39
40 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigator.h » ('j') | content/browser/frame_host/navigator_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698