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. It | |
37 // is unique within the renderer process and makes a best effort to be unique | |
38 // across browser sessions (using a renderer process timestamp). | |
39 int64 item_sequence_number; | |
40 | |
41 // The document sequence number is ssed to identify cross-document navigations | |
Avi (use Gerrit)
2015/06/18 20:36:07
s/ssed/used/
| |
42 // in session history. It increments for each new document and is unique in | |
43 // the same way as |item_sequence_number|. In-page navigations get a new item | |
44 // sequence number but the same document sequence number. | |
45 int64 document_sequence_number; | |
46 | |
36 // URL of the page being loaded. | 47 // URL of the page being loaded. |
37 GURL url; | 48 GURL url; |
38 | 49 |
39 // The base URL for the page's document when the frame was committed. Empty if | 50 // 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 | 51 // similar to 'url' above. Note that any base element in the page has not been |
41 // parsed yet and is therefore not reflected. | 52 // parsed yet and is therefore not reflected. |
42 // This is of interest when a MHTML file is loaded, as the base URL has been | 53 // 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. | 54 // set to original URL of the site the MHTML represents. |
44 GURL base_url; | 55 GURL base_url; |
45 | 56 |
(...skipping 21 matching lines...) Expand all Loading... | |
67 // Contents MIME type of main frame. | 78 // Contents MIME type of main frame. |
68 std::string contents_mime_type; | 79 std::string contents_mime_type; |
69 | 80 |
70 // Remote address of the socket which fetched this resource. | 81 // Remote address of the socket which fetched this resource. |
71 net::HostPortPair socket_address; | 82 net::HostPortPair socket_address; |
72 }; | 83 }; |
73 | 84 |
74 } // namespace content | 85 } // namespace content |
75 | 86 |
76 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ | 87 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ |
OLD | NEW |