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

Unified Diff: base/message_loop.h

Issue 8343033: Add CHECK to catch places where BrowserProcessImpl's refcount goes to 0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « no previous file | base/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index 732de03aa1f147d2d97477b2223c51b255fd8b47..171bee31ef77872a7dab26d2411fc2fd5221c008 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -377,6 +377,9 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
}
#endif // OS_WIN
+ // Can only be called from the thread that owns the MessageLoop.
+ bool is_running() const;
+
//----------------------------------------------------------------------------
protected:
struct RunState {
« no previous file with comments | « no previous file | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698