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

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 9221008: Move cleanup that happens on IO thread destruction to content, so that not every embedder has to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_process_sub_thread.h
===================================================================
--- content/browser/browser_process_sub_thread.h (revision 117868)
+++ content/browser/browser_process_sub_thread.h (working copy)
@@ -35,6 +35,11 @@
virtual void CleanUp() OVERRIDE;
private:
+ // These methods encapsulate cleanup that needs to happen on the IO thread
+ // before/after we call the embedder's CleanUp function.
+ void IOThreadPreCleanUp();
+ void IOThreadPostCleanUp();
+
// Each specialized thread has its own notification service.
// Note: We don't use scoped_ptr because the destructor runs on the wrong
// thread.
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698