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

Unified Diff: chrome/browser/sessions/session_types.h

Issue 10850010: Make session restore understand that tabs have multiple SessionStorageNamespaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased, with test robustified. Created 8 years, 4 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: chrome/browser/sessions/session_types.h
diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h
index b8a23bf27d1d88e78780482296292e989de37ac7..7f552fbe4290ed2739a2f86f24abd0e12f63b0fb 100644
--- a/chrome/browser/sessions/session_types.h
+++ b/chrome/browser/sessions/session_types.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
#define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
+#include <map>
#include <string>
#include <vector>
@@ -171,8 +172,8 @@ struct SessionTab {
std::vector<TabNavigation> navigations;
- // For reassociating sessionStorage.
- std::string session_storage_persistent_id;
+ // Maps the storage partition id to its session storage persistent id.
+ std::map<std::string, std::string> session_storage_persistent_id_map;
private:
DISALLOW_COPY_AND_ASSIGN(SessionTab);

Powered by Google App Engine
This is Rietveld 408576698