OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ |
6 #define CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ | 6 #define CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 // page IDs for user actions, and the old page IDs will be reloaded when | 26 // page IDs for user actions, and the old page IDs will be reloaded when |
27 // iframes are loaded automatically. | 27 // iframes are loaded automatically. |
28 int32 page_id; | 28 int32 page_id; |
29 | 29 |
30 // The unique ID of the NavigationEntry for browser-initiated navigations. | 30 // The unique ID of the NavigationEntry for browser-initiated navigations. |
31 // This value was given to the render process in the HistoryNavigationParams | 31 // This value was given to the render process in the HistoryNavigationParams |
32 // and is being returned by the renderer without it having any idea what it | 32 // and is being returned by the renderer without it having any idea what it |
33 // means. If the navigation was renderer-initiated, this value is 0. | 33 // means. If the navigation was renderer-initiated, this value is 0. |
34 int nav_entry_id; | 34 int nav_entry_id; |
35 | 35 |
36 // The item sequence number identifies each stop in the session history | |
37 // and is globally unique. | |
38 int64 item_sequence_number; | |
39 | |
40 // The document sequence number is ssed to identify cross-document navigations | |
41 // in session history. It increments for each new document and is globally | |
42 // unique. In-page navigations get a new item sequence number but the same | |
43 // document sequence number. | |
44 int64 document_sequence_number; | |
45 | |
Avi (use Gerrit)
2015/06/18 00:57:00
If these are generated deep in Blink in a renderer
Charlie Reis
2015/06/18 20:30:18
They get serialized into session restore data, so
| |
36 // URL of the page being loaded. | 46 // URL of the page being loaded. |
37 GURL url; | 47 GURL url; |
38 | 48 |
39 // The base URL for the page's document when the frame was committed. Empty if | 49 // The base URL for the page's document when the frame was committed. Empty if |
40 // similar to 'url' above. Note that any base element in the page has not been | 50 // similar to 'url' above. Note that any base element in the page has not been |
41 // parsed yet and is therefore not reflected. | 51 // parsed yet and is therefore not reflected. |
42 // This is of interest when a MHTML file is loaded, as the base URL has been | 52 // This is of interest when a MHTML file is loaded, as the base URL has been |
43 // set to original URL of the site the MHTML represents. | 53 // set to original URL of the site the MHTML represents. |
44 GURL base_url; | 54 GURL base_url; |
45 | 55 |
(...skipping 21 matching lines...) Expand all Loading... | |
67 // Contents MIME type of main frame. | 77 // Contents MIME type of main frame. |
68 std::string contents_mime_type; | 78 std::string contents_mime_type; |
69 | 79 |
70 // Remote address of the socket which fetched this resource. | 80 // Remote address of the socket which fetched this resource. |
71 net::HostPortPair socket_address; | 81 net::HostPortPair socket_address; |
72 }; | 82 }; |
73 | 83 |
74 } // namespace content | 84 } // namespace content |
75 | 85 |
76 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ | 86 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ |
OLD | NEW |