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.
5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_
10 #include "base/basictypes.h"
11 #include "content/public/common/page_transition_types.h"
12 #include "content/public/common/referrer.h"
18 // Holds the parameters determined during the load of a navigation request until
19 // the response is received. Initialized on the IO thread, then passed to the UI
20 // thread where it should be used to send a FrameMsg_CommitNavigation message to
22 struct NavigationBeforeCommitInfo
{
23 NavigationBeforeCommitInfo() {};
25 // The url that is actually being loaded.
28 // A unique blob url to be subsequently requested by the renderer as the main
29 // resource for the frame, that will be used to find the associated stream of
33 // TODO(clamy): Maybe add the redirect chain if needed by the renderer.
35 // The navigationStart time to expose to JS for this navigation.
36 // TODO(clamy): Add the other values that matter to the Navigation Timing API.
37 base::TimeTicks browser_navigation_start
;
40 } // namespace content
42 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_