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

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: Merge in MessageLoop conflict from upstream. Created 8 years, 6 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
Index: base/message_loop.cc
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 8eb4e3bb3a4b3835a40849be09ff7ee7fde43991..8ea56192d7f9356bfe6d5958eda3abfa0ca55dfa 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -321,6 +321,10 @@ void MessageLoop::QuitNow() {
}
}
+bool MessageLoop::IsType(Type type) const {
+ return type_ == type;
+}
+
static void QuitCurrentWhenIdle() {
MessageLoop::current()->QuitWhenIdle();
}

Powered by Google App Engine
This is Rietveld 408576698