Implement SSLKEYLOGFILE for OpenSSL.
[chromium-blink-merge.git] / content / browser / frame_host / navigation_before_commit_info.h
blob68a047a6c1346c4c7024b5be7a66f43ecb88fe48
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_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "base/time/time.h"
12 #include "content/common/content_export.h"
13 #include "content/public/common/page_transition_types.h"
14 #include "content/public/common/referrer.h"
15 #include "url/gurl.h"
17 namespace content {
19 // PlzNavigate:
20 // Holds the parameters determined during the load of a navigation request until
21 // the response is received. Initialized on the IO thread, then passed to the UI
22 // thread where it should be used to send a FrameMsg_CommitNavigation message to
23 // the renderer.
24 struct NavigationBeforeCommitInfo {
25 CONTENT_EXPORT NavigationBeforeCommitInfo();
27 // The url that is actually being loaded.
28 GURL navigation_url;
30 // A unique blob url to be subsequently requested by the renderer as the main
31 // resource for the frame, that will be used to find the associated stream of
32 // data.
33 GURL stream_url;
35 // TODO(clamy): Maybe add the redirect chain if needed by the renderer.
37 // The navigationStart time to expose to JS for this navigation.
38 // TODO(clamy): Add the other values that matter to the Navigation Timing API.
39 base::TimeTicks browser_navigation_start;
41 // The unique ID of this navigation request.
42 int64 navigation_request_id;
45 } // namespace content
47 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_