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

Unified Diff: base/message_loop.cc

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor docu-changes. Created 8 years, 5 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 | « base/message_loop.h ('k') | base/message_loop_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.cc
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 6b994bc0c33029f91c2a298deb7dfbddf4e66aae..7cadede1b5ec411c4afc5953aa6eae48f5ef80bb 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -322,6 +322,10 @@ void MessageLoop::QuitNow() {
}
}
+bool MessageLoop::IsType(Type type) const {
+ return type_ == type;
+}
+
static void QuitCurrentWhenIdle() {
MessageLoop::current()->QuitWhenIdle();
}
« no previous file with comments | « base/message_loop.h ('k') | base/message_loop_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698