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

Unified Diff: chrome/browser/multi_process_notification_linux.cc

Issue 6312007: Fix up notifications so that they aren't only on Browser IOThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
Index: chrome/browser/multi_process_notification_linux.cc
diff --git a/chrome/browser/multi_process_notification_linux.cc b/chrome/browser/multi_process_notification_linux.cc
index 6d1fb12db652d861aeab873f4b7efe2a6e98f241..bb36c886233811d4e218744d167c6afcab09f1ea 100644
--- a/chrome/browser/multi_process_notification_linux.cc
+++ b/chrome/browser/multi_process_notification_linux.cc
@@ -20,7 +20,7 @@ class ListenerImpl {
Domain domain,
Listener::Delegate* delegate);
- bool Start();
+ bool Start(MessageLoopForIO* loop_to_listen_on);
private:
std::string name_;
@@ -36,7 +36,7 @@ ListenerImpl::ListenerImpl(const std::string& name,
: name_(name), domain_(domain), delegate_(delegate) {
}
-bool ListenerImpl::Start() {
+bool ListenerImpl::Start(MessageLoop* io_loop_to_listen_on) {
// TODO(dmaclach): Implement
NOTIMPLEMENTED();
return false;
@@ -51,8 +51,8 @@ Listener::Listener(const std::string& name,
Listener::~Listener() {
}
-bool Listener::Start() {
- return impl_->Start();
+bool Listener::Start(MessageLoop* io_loop_to_listen_on) {
+ return impl_->Start(io_loop_to_listen_on);
}
} // namespace multi_process_notification

Powered by Google App Engine
This is Rietveld 408576698