OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/dom_storage/dom_storage_message_filter.h" | 5 #include "content/browser/dom_storage/dom_storage_message_filter.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/nullable_string16.h" | 9 #include "base/nullable_string16.h" |
10 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 const NullableString16& new_value, | 238 const NullableString16& new_value, |
239 const NullableString16& old_value) { | 239 const NullableString16& old_value) { |
240 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO)); | 240 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO)); |
241 DOMStorageMsg_Event_Params params; | 241 DOMStorageMsg_Event_Params params; |
242 params.origin = area->origin(); | 242 params.origin = area->origin(); |
243 params.page_url = page_url; | 243 params.page_url = page_url; |
244 params.connection_id = connection_dispatching_message_for_; | 244 params.connection_id = connection_dispatching_message_for_; |
245 params.key = key; | 245 params.key = key; |
246 params.new_value = new_value; | 246 params.new_value = new_value; |
247 params.old_value = old_value; | 247 params.old_value = old_value; |
| 248 params.namespace_id = area->namespace_id(); |
248 Send(new DOMStorageMsg_Event(params)); | 249 Send(new DOMStorageMsg_Event(params)); |
249 } | 250 } |
OLD | NEW |