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

Unified Diff: chrome/browser/in_process_webkit/dom_storage_context.h

Issue 6342011: No longer terminating the renderer on bad storage session messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/dom_storage_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/in_process_webkit/dom_storage_context.h
===================================================================
--- chrome/browser/in_process_webkit/dom_storage_context.h (revision 71193)
+++ chrome/browser/in_process_webkit/dom_storage_context.h (working copy)
@@ -30,6 +30,11 @@
explicit DOMStorageContext(WebKitContext* webkit_context);
virtual ~DOMStorageContext();
+ // Invalid storage id. No storage session will ever report this value.
+ // Used in DOMStorageMessageFilter::OnStorageAreaId when coping with
+ // interactions with non-existent storage sessions.
+ static const int64 kInvalidStorageId = -1;
+
// Allocate a new storage area id. Only call on the WebKit thread.
int64 AllocateStorageAreaId();
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/dom_storage_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698