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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2249173003: Removes the references to shared workers from the all documents in being deleted frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep WorkerStoragePartitionId in SharedWorkerMessageFilter Created 4 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) 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #endif 64 #endif
65 class PermissionServiceContext; 65 class PermissionServiceContext;
66 class PeerConnectionTrackerHost; 66 class PeerConnectionTrackerHost;
67 class RendererMainThread; 67 class RendererMainThread;
68 class RenderFrameMessageFilter; 68 class RenderFrameMessageFilter;
69 class RenderWidgetHelper; 69 class RenderWidgetHelper;
70 class RenderWidgetHost; 70 class RenderWidgetHost;
71 class RenderWidgetHostImpl; 71 class RenderWidgetHostImpl;
72 class RenderWidgetHostViewFrameSubscriber; 72 class RenderWidgetHostViewFrameSubscriber;
73 class ResourceMessageFilter; 73 class ResourceMessageFilter;
74 class SharedWorkerMessageFilter;
74 class StoragePartition; 75 class StoragePartition;
75 class StoragePartitionImpl; 76 class StoragePartitionImpl;
76 77
77 namespace mojom { 78 namespace mojom {
78 class StoragePartitionService; 79 class StoragePartitionService;
79 } 80 }
80 81
81 typedef base::Thread* (*RendererMainThreadFactoryFunction)( 82 typedef base::Thread* (*RendererMainThreadFactoryFunction)(
82 const InProcessChildThreadParams& params); 83 const InProcessChildThreadParams& params);
83 84
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 397
397 // Used to allow a RenderWidgetHost to intercept various messages on the 398 // Used to allow a RenderWidgetHost to intercept various messages on the
398 // IO thread. 399 // IO thread.
399 scoped_refptr<RenderWidgetHelper> widget_helper_; 400 scoped_refptr<RenderWidgetHelper> widget_helper_;
400 401
401 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_; 402 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_;
402 403
403 // The filter for MessagePort messages coming from the renderer. 404 // The filter for MessagePort messages coming from the renderer.
404 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; 405 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_;
405 406
407 // The filter for SharedWorker messages coming from the renderer.
408 scoped_refptr<SharedWorkerMessageFilter> shared_worker_message_filter_;
409
406 // The filter for Web Notification messages coming from the renderer. Holds a 410 // The filter for Web Notification messages coming from the renderer. Holds a
407 // closure per notification that must be freed when the notification closes. 411 // closure per notification that must be freed when the notification closes.
408 scoped_refptr<NotificationMessageFilter> notification_message_filter_; 412 scoped_refptr<NotificationMessageFilter> notification_message_filter_;
409 413
410 // Used in single-process mode. 414 // Used in single-process mode.
411 std::unique_ptr<base::Thread> in_process_renderer_; 415 std::unique_ptr<base::Thread> in_process_renderer_;
412 416
413 // True after Init() has been called. We can't just check channel_ because we 417 // True after Init() has been called. We can't just check channel_ because we
414 // also reset that in the case of process termination. 418 // also reset that in the case of process termination.
415 bool is_initialized_; 419 bool is_initialized_;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 scoped_refptr<ResourceMessageFilter> resource_message_filter_; 537 scoped_refptr<ResourceMessageFilter> resource_message_filter_;
534 538
535 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 539 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
536 540
537 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 541 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
538 }; 542 };
539 543
540 } // namespace content 544 } // namespace content
541 545
542 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 546 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698