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

Issue 10572015: Session restore: Store and restore persistent IDs for sessionStorage. (Closed)

Created:
8 years, 6 months ago by marja
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, marja+watch_chromium.org, jam, jochen+watch-content_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Session restore: Store and restore persistent IDs for sessionStorage. Saving the sessionStorage data on disk will be done in a future CL. BUG=104292 TEST=TBD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143709

Patch Set 1 #

Patch Set 2 : . #

Total comments: 19

Patch Set 3 : rebased #

Patch Set 4 : code review #

Total comments: 2

Patch Set 5 : . #

Total comments: 2

Patch Set 6 : code review #

Patch Set 7 : test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -11 lines) Patch
M chrome/browser/sessions/session_restore.cc View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/sessions/session_restore_browsertest.cc View 1 2 3 4 5 6 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_service.cc View 1 2 3 4 5 7 chunks +46 lines, -0 lines 0 comments Download
M chrome/browser/sessions/session_types.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/dom_storage/dom_storage_context_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/dom_storage/dom_storage_context_impl.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/dom_storage/session_storage_namespace_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/dom_storage/session_storage_namespace_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/browser/dom_storage_context.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M content/public/browser/session_storage_namespace.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M webkit/dom_storage/dom_storage_context.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/dom_storage/dom_storage_context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/dom_storage/dom_storage_session.h View 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/dom_storage/dom_storage_session.cc View 3 chunks +9 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/simple_dom_storage_system.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
marja
Hi sky,michaeln, This CL stores and restores the permanent IDs for sessionStorage in the session ...
8 years, 6 months ago (2012-06-19 13:55:28 UTC) #1
sky
How about some tests? https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc File chrome/browser/sessions/session_service.cc (right): https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc#newcode605 chrome/browser/sessions/session_service.cc:605: // Record the association between ...
8 years, 6 months ago (2012-06-19 14:11:59 UTC) #2
michaeln
http://codereview.chromium.org/10572015/diff/2001/chrome/browser/sessions/session_service.cc File chrome/browser/sessions/session_service.cc (right): http://codereview.chromium.org/10572015/diff/2001/chrome/browser/sessions/session_service.cc#newcode622 chrome/browser/sessions/session_service.cc:622: content::SessionStorageNamespace* session_storage_namespace = On 2012/06/19 14:11:59, sky wrote: > ...
8 years, 6 months ago (2012-06-20 04:01:59 UTC) #3
marja
Thanks for comments! https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc File chrome/browser/sessions/session_service.cc (right): https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc#newcode605 chrome/browser/sessions/session_service.cc:605: // Record the association between the ...
8 years, 6 months ago (2012-06-20 16:54:32 UTC) #4
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10572015/diff/2001/content/public/browser/session_storage_namespace.h File content/public/browser/session_storage_namespace.h (right): http://codereview.chromium.org/10572015/diff/2001/content/public/browser/session_storage_namespace.h#newcode39 content/public/browser/session_storage_namespace.h:39: DISALLOW_COPY_AND_ASSIGN(SessionStorageNamespace); The style guide says to either provide copy ...
8 years, 6 months ago (2012-06-20 16:55:34 UTC) #5
michaeln
Modulo whatever is going amiss in the test, this looks pretty good to me. [ ...
8 years, 6 months ago (2012-06-20 18:09:11 UTC) #6
sky
LGTM https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc File chrome/browser/sessions/session_service.cc (right): https://chromiumcodereview.appspot.com/10572015/diff/2001/chrome/browser/sessions/session_service.cc#newcode862 chrome/browser/sessions/session_service.cc:862: pickle.WriteString(session_storage_persistent_id); On 2012/06/20 16:54:32, marja wrote: > On ...
8 years, 6 months ago (2012-06-20 21:57:45 UTC) #7
marja
The test is fixed now, too. https://chromiumcodereview.appspot.com/10572015/diff/6002/chrome/browser/sessions/session_service.cc File chrome/browser/sessions/session_service.cc (right): https://chromiumcodereview.appspot.com/10572015/diff/6002/chrome/browser/sessions/session_service.cc#newcode1269 chrome/browser/sessions/session_service.cc:1269: return false; On ...
8 years, 6 months ago (2012-06-22 10:37:02 UTC) #8
michaeln
LGTM2
8 years, 6 months ago (2012-06-22 18:00:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10572015/20001
8 years, 6 months ago (2012-06-22 19:13:52 UTC) #10
commit-bot: I haz the power
Presubmit check for 10572015-20001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 6 months ago (2012-06-22 19:13:58 UTC) #11
marja
Oops, owners. brettw, could you review the following: content/public/browser/* webkit/tools/test_shell/simple_dom_storage_system.cc
8 years, 6 months ago (2012-06-22 19:23:29 UTC) #12
brettw
content/public and webkit/tools LGTM
8 years, 6 months ago (2012-06-22 19:34:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/10572015/20001
8 years, 6 months ago (2012-06-22 19:44:55 UTC) #14
commit-bot: I haz the power
8 years, 6 months ago (2012-06-22 21:20:56 UTC) #15
Change committed as 143709

Powered by Google App Engine
This is Rietveld 408576698