Index: content/browser/in_process_webkit/dom_storage_message_filter.h |
diff --git a/content/browser/in_process_webkit/dom_storage_message_filter.h b/content/browser/in_process_webkit/dom_storage_message_filter.h |
index 75839c2b2e974e5c5f6ae09cf531784d1484912e..3e9e4be115693376900ca3442d852f4a573e223f 100644 |
--- a/content/browser/in_process_webkit/dom_storage_message_filter.h |
+++ b/content/browser/in_process_webkit/dom_storage_message_filter.h |
@@ -40,6 +40,9 @@ class DOMStorageMessageFilter : public content::BrowserMessageFilter { |
const NullableString16& old_value, const NullableString16& new_value, |
const string16& origin, const GURL& url, bool is_local_storage); |
+ // Only call on the WebKit thread. |
+ static void SetIgnoreStorageEvents(bool ignore_storage_events); |
+ |
private: |
friend class content::BrowserThread; |
friend class base::DeleteHelper<DOMStorageMessageFilter>; |
@@ -68,6 +71,9 @@ class DOMStorageMessageFilter : public content::BrowserMessageFilter { |
return webkit_context_->dom_storage_context(); |
} |
+ void NotifyOnUIThread(int64 namespace_id, |
+ const FilePath& session_storage_directory); |
+ |
// Use whenever there's a chance OnStorageEvent will be called. |
class ScopedStorageEventContext { |
public: |
@@ -80,6 +86,7 @@ class DOMStorageMessageFilter : public content::BrowserMessageFilter { |
// Only access on the WebKit thread! Used for storage events. |
static DOMStorageMessageFilter* storage_event_message_filter; |
static const GURL* storage_event_url_; |
+ static bool ignore_storage_events_; |
// Data shared between renderer processes with the same browser context. |
scoped_refptr<WebKitContext> webkit_context_; |