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

Side by Side Diff: chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h" 5 #include "chrome/browser/in_process_webkit/dom_storage_dispatcher_host.h"
6 6
7 #include "base/nullable_string16.h" 7 #include "base/nullable_string16.h"
8 #include "chrome/browser/chrome_thread.h" 8 #include "chrome/browser/chrome_thread.h"
9 #include "chrome/browser/in_process_webkit/dom_storage_area.h" 9 #include "chrome/browser/in_process_webkit/dom_storage_area.h"
10 #include "chrome/browser/in_process_webkit/dom_storage_context.h" 10 #include "chrome/browser/in_process_webkit/dom_storage_context.h"
11 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h" 11 #include "chrome/browser/in_process_webkit/dom_storage_namespace.h"
12 #include "chrome/browser/net/chrome_url_request_context.h" 12 #include "chrome/browser/net/chrome_url_request_context.h"
13 #include "chrome/browser/renderer_host/browser_render_process_host.h" 13 #include "chrome/browser/renderer_host/browser_render_process_host.h"
14 #include "chrome/browser/renderer_host/render_view_host_notification_task.h" 14 #include "chrome/browser/renderer_host/render_view_host_notification_task.h"
15 #include "chrome/browser/renderer_host/resource_message_filter.h" 15 #include "chrome/browser/renderer_host/resource_message_filter.h"
16 #include "chrome/common/render_messages.h" 16 #include "chrome/common/render_messages.h"
17 #include "chrome/common/render_messages_params.h"
17 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
18 19
19 using WebKit::WebStorageArea; 20 using WebKit::WebStorageArea;
20 21
21 DOMStorageDispatcherHost* DOMStorageDispatcherHost::storage_event_host_ = NULL; 22 DOMStorageDispatcherHost* DOMStorageDispatcherHost::storage_event_host_ = NULL;
22 const GURL* DOMStorageDispatcherHost::storage_event_url_ = NULL; 23 const GURL* DOMStorageDispatcherHost::storage_event_url_ = NULL;
23 24
24 DOMStorageDispatcherHost:: 25 DOMStorageDispatcherHost::
25 ScopedStorageEventContext::ScopedStorageEventContext( 26 ScopedStorageEventContext::ScopedStorageEventContext(
26 DOMStorageDispatcherHost* dispatcher_host, const GURL* url) { 27 DOMStorageDispatcherHost* dispatcher_host, const GURL* url) {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 const DOMStorageContext::DispatcherHostSet* set = 331 const DOMStorageContext::DispatcherHostSet* set =
331 Context()->GetDispatcherHostSet(); 332 Context()->GetDispatcherHostSet();
332 DOMStorageContext::DispatcherHostSet::const_iterator cur = set->begin(); 333 DOMStorageContext::DispatcherHostSet::const_iterator cur = set->begin();
333 while (cur != set->end()) { 334 while (cur != set->end()) {
334 // The renderer that generates the event handles it itself. 335 // The renderer that generates the event handles it itself.
335 if (*cur != this) 336 if (*cur != this)
336 (*cur)->Send(new ViewMsg_DOMStorageEvent(params)); 337 (*cur)->Send(new ViewMsg_DOMStorageEvent(params));
337 ++cur; 338 ++cur;
338 } 339 }
339 } 340 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698