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

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

Issue 2338113002: Revert "Reland of Check that all shared workers are terminated. (patchset #2 id:170001 of https://c… (Closed)
Patch Set: Created 4 years, 3 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 const GURL& url); 243 const GURL& url);
244 244
245 static base::MessageLoop* GetInProcessRendererThreadForTesting(); 245 static base::MessageLoop* GetInProcessRendererThreadForTesting();
246 246
247 // This forces a renderer that is running "in process" to shut down. 247 // This forces a renderer that is running "in process" to shut down.
248 static void ShutDownInProcessRenderer(); 248 static void ShutDownInProcessRenderer();
249 249
250 static void RegisterRendererMainThreadFactory( 250 static void RegisterRendererMainThreadFactory(
251 RendererMainThreadFactoryFunction create); 251 RendererMainThreadFactoryFunction create);
252 252
253 // TODO(alokp): Remove after collecting crash data.
254 // Temporary checks to verify that all shared workers are terminated.
255 // It is suspected that shared workers prevent render process hosts
256 // from shutting down: crbug.com/608049
257 static void CheckAllWorkersTerminated();
258
259 #if defined(OS_ANDROID) 253 #if defined(OS_ANDROID)
260 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() { 254 const scoped_refptr<BrowserDemuxerAndroid>& browser_demuxer_android() {
261 return browser_demuxer_android_; 255 return browser_demuxer_android_;
262 } 256 }
263 #endif 257 #endif
264 258
265 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const { 259 RenderFrameMessageFilter* render_frame_message_filter_for_testing() const {
266 return render_frame_message_filter_.get(); 260 return render_frame_message_filter_.get();
267 } 261 }
268 262
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 instance_weak_factory_; 575 instance_weak_factory_;
582 576
583 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 577 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
584 578
585 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 579 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
586 }; 580 };
587 581
588 } // namespace content 582 } // namespace content
589 583
590 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 584 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_process_sub_thread.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698