OLD | NEW |
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 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/public/common/page_transition_types.h" | |
14 #include "content/public/common/referrer.h" | 13 #include "content/public/common/referrer.h" |
15 #include "url/gurl.h" | 14 #include "url/gurl.h" |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 | 17 |
19 // PlzNavigate: | 18 // PlzNavigate: |
20 // Holds the parameters determined during the load of a navigation request until | 19 // 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 | 20 // 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 | 21 // thread where it should be used to send a FrameMsg_CommitNavigation message to |
23 // the renderer. | 22 // the renderer. |
(...skipping 14 matching lines...) Expand all Loading... |
38 // TODO(clamy): Add the other values that matter to the Navigation Timing API. | 37 // TODO(clamy): Add the other values that matter to the Navigation Timing API. |
39 base::TimeTicks browser_navigation_start; | 38 base::TimeTicks browser_navigation_start; |
40 | 39 |
41 // The unique ID of this navigation request. | 40 // The unique ID of this navigation request. |
42 int64 navigation_request_id; | 41 int64 navigation_request_id; |
43 }; | 42 }; |
44 | 43 |
45 } // namespace content | 44 } // namespace content |
46 | 45 |
47 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ | 46 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_BEFORE_COMMIT_INFO_H_ |
OLD | NEW |