Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: components/sessions/core/serialized_navigation_entry.h

Issue 2776633003: Add taskid for navigation, created in session sync (Closed)
Patch Set: comments and refactoring Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/sessions/core/serialized_navigation_entry.h
diff --git a/components/sessions/core/serialized_navigation_entry.h b/components/sessions/core/serialized_navigation_entry.h
index 3a8e665ff02e256d5e8ab330a1ccef226e3c4813..3e79ae5bab77aecf7966bae5b819d27344e8233e 100644
--- a/components/sessions/core/serialized_navigation_entry.h
+++ b/components/sessions/core/serialized_navigation_entry.h
@@ -128,6 +128,9 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
return extended_info_map_;
}
+ const std::vector<int64_t>& get_task_id() const { return task_id_; }
+ void set_task_id(const std::vector<int64_t>& task_id) { task_id_ = task_id; }
+
size_t EstimateMemoryUsage() const;
private:
@@ -160,6 +163,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
int http_status_code_;
bool is_restored_; // Not persisted.
std::vector<GURL> redirect_chain_; // Not persisted.
+ std::vector<int64_t> task_id_;
Nicolas Zea 2017/03/27 20:43:52 This class is exclusively meant to wrap data store
shenchao 2017/04/06 00:54:55 Acknowledged. Stopped using the SerializedNavigati
// Additional information.
BlockedState blocked_state_;

Powered by Google App Engine
This is Rietveld 408576698