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

Side by Side Diff: content/browser/dom_storage/dom_storage_message_filter.cc

Issue 10201010: Switch chrome and chromiumDRT over to using the new WebKit API for dispatching events. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/common/dom_storage_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/common/dom_storage_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698