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

Unified Diff: content/public/browser/browser_thread.h

Issue 2473823002: Remove BrowserThread::UnsafeGetMessageLoopForThread() (Closed)
Patch Set: rebase again? Created 4 years, 1 month 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 | « content/browser/utility_process_host_impl.cc ('k') | ios/web/public/web_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_thread.h
diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h
index 073811ecaa9d01f89561f772bce8c92c18fc69ee..74874dd2996892a50695b722ebf59874b307a8f0 100644
--- a/content/public/browser/browser_thread.h
+++ b/content/public/browser/browser_thread.h
@@ -222,16 +222,6 @@ class CONTENT_EXPORT BrowserThread {
static scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunnerForThread(
ID identifier);
- // Returns a pointer to the thread's message loop, which will become
- // invalid during shutdown, so you probably shouldn't hold onto it.
- //
- // This must not be called before the thread is started, or after
- // the thread is stopped, or it will DCHECK.
- //
- // Ownership remains with the BrowserThread implementation, so you
- // must not delete the pointer.
- static base::MessageLoop* UnsafeGetMessageLoopForThread(ID identifier);
-
// Sets the delegate for the specified BrowserThread.
//
// Only one delegate may be registered at a time. Delegates may be
« no previous file with comments | « content/browser/utility_process_host_impl.cc ('k') | ios/web/public/web_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698