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 unique name of the frame in which this navigation takes place. |
| 37 std::string frame_unique_name; |
| 38 |
36 // The item sequence number identifies each stop in the session history. It | 39 // 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 | 40 // is unique within the renderer process and makes a best effort to be unique |
38 // across browser sessions (using a renderer process timestamp). | 41 // across browser sessions (using a renderer process timestamp). |
39 int64 item_sequence_number; | 42 int64 item_sequence_number; |
40 | 43 |
41 // The document sequence number is used to identify cross-document navigations | 44 // The document sequence number is used to identify cross-document navigations |
42 // in session history. It increments for each new document and is unique in | 45 // 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 | 46 // the same way as |item_sequence_number|. In-page navigations get a new item |
44 // sequence number but the same document sequence number. | 47 // sequence number but the same document sequence number. |
45 int64 document_sequence_number; | 48 int64 document_sequence_number; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Contents MIME type of main frame. | 81 // Contents MIME type of main frame. |
79 std::string contents_mime_type; | 82 std::string contents_mime_type; |
80 | 83 |
81 // Remote address of the socket which fetched this resource. | 84 // Remote address of the socket which fetched this resource. |
82 net::HostPortPair socket_address; | 85 net::HostPortPair socket_address; |
83 }; | 86 }; |
84 | 87 |
85 } // namespace content | 88 } // namespace content |
86 | 89 |
87 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ | 90 #endif // CONTENT_PUBLIC_COMMON_FRAME_NAVIGATE_PARAMS_H_ |
OLD | NEW |