Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SESSIONS_SESSION_TYPES_H_ | 5 #ifndef COMPONENTS_SESSIONS_SESSION_TYPES_H_ |
| 6 #define COMPONENTS_SESSIONS_SESSION_TYPES_H_ | 6 #define COMPONENTS_SESSIONS_SESSION_TYPES_H_ |
| 7 | 7 |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 90 // If non-empty, this tab is an app tab and this is the id of the extension. | 90 // If non-empty, this tab is an app tab and this is the id of the extension. |
| 91 std::string extension_app_id; | 91 std::string extension_app_id; |
| 92 | 92 |
| 93 // If non-empty, this string is used as the user agent whenever the tab's | 93 // If non-empty, this string is used as the user agent whenever the tab's |
| 94 // NavigationEntries need it overridden. | 94 // NavigationEntries need it overridden. |
| 95 std::string user_agent_override; | 95 std::string user_agent_override; |
| 96 | 96 |
| 97 // Timestamp for when this tab was last modified. | 97 // Timestamp for when this tab was last modified. |
| 98 base::Time timestamp; | 98 base::Time timestamp; |
| 99 | 99 |
| 100 // Timestamp for when this tab was last activated. | |
|
sky
2015/05/22 03:00:19
Add a comment about being careful as value is only
Georges Khalil
2015/05/22 20:14:09
Done.
| |
| 101 base::TimeTicks last_active_time; | |
| 102 | |
| 100 std::vector<sessions::SerializedNavigationEntry> navigations; | 103 std::vector<sessions::SerializedNavigationEntry> navigations; |
| 101 | 104 |
| 102 // For reassociating sessionStorage. | 105 // For reassociating sessionStorage. |
| 103 std::string session_storage_persistent_id; | 106 std::string session_storage_persistent_id; |
| 104 | 107 |
| 105 // Ids of the currently assigned variations which should be sent to sync. | 108 // Ids of the currently assigned variations which should be sent to sync. |
| 106 std::vector<variations::VariationID> variation_ids; | 109 std::vector<variations::VariationID> variation_ids; |
| 107 | 110 |
| 108 private: | 111 private: |
| 109 DISALLOW_COPY_AND_ASSIGN(SessionTab); | 112 DISALLOW_COPY_AND_ASSIGN(SessionTab); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 | 167 |
| 165 std::string app_name; | 168 std::string app_name; |
| 166 | 169 |
| 167 private: | 170 private: |
| 168 DISALLOW_COPY_AND_ASSIGN(SessionWindow); | 171 DISALLOW_COPY_AND_ASSIGN(SessionWindow); |
| 169 }; | 172 }; |
| 170 | 173 |
| 171 } // namespace sessions | 174 } // namespace sessions |
| 172 | 175 |
| 173 #endif // COMPONENTS_SESSIONS_SESSION_TYPES_H_ | 176 #endif // COMPONENTS_SESSIONS_SESSION_TYPES_H_ |
| OLD | NEW |