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

Unified Diff: mojo/common/handle_watcher.h

Issue 69283002: Revert "Mojo: Add BindingsSupportImpl on top of HandleWatcher" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « mojo/common/bindings_support_impl.cc ('k') | mojo/common/handle_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/handle_watcher.h
diff --git a/mojo/common/handle_watcher.h b/mojo/common/handle_watcher.h
index a6a73ea6c1ee9f3b5bb5e44d0d706652d0841a7e..8e04aa707e2a4803f80655a03e319e5ec5b846b4 100644
--- a/mojo/common/handle_watcher.h
+++ b/mojo/common/handle_watcher.h
@@ -38,7 +38,7 @@ class MOJO_COMMON_EXPORT HandleWatcher {
void Start(MojoHandle handle,
MojoWaitFlags wait_flags,
MojoDeadline deadline,
- const base::Callback<void(MojoResult)>& callback);
+ const base::Closure& callback);
// Stops listening. Does nothing if not in the process of listening.
void Stop();
@@ -54,7 +54,7 @@ class MOJO_COMMON_EXPORT HandleWatcher {
struct StartState;
// See description of |StartState::weak_factory| for details.
- void OnHandleReady(MojoResult result);
+ void OnHandleReady();
// If non-NULL Start() has been invoked.
scoped_ptr<StartState> start_state_;
« no previous file with comments | « mojo/common/bindings_support_impl.cc ('k') | mojo/common/handle_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698