| Index: remoting/host/policy_hack/policy_watcher.h
|
| diff --git a/remoting/host/policy_hack/policy_watcher.h b/remoting/host/policy_hack/policy_watcher.h
|
| index 0ced8f23a4a7c55437e8fb0566dbb359a8c8adef..20feb7862da55f8477bd0e70e4f457945be089eb 100644
|
| --- a/remoting/host/policy_hack/policy_watcher.h
|
| +++ b/remoting/host/policy_hack/policy_watcher.h
|
| @@ -38,8 +38,8 @@ class PolicyWatcher {
|
| virtual void StartWatching(const PolicyCallback& policy_callback);
|
|
|
| // Should be called after StartWatching() before the object is deleted. Calls
|
| - // just wait for |done| to be signaled before deleting the object.
|
| - virtual void StopWatching(base::WaitableEvent* done);
|
| + // should wait for |stopped_callback| to be called before deleting the object.
|
| + virtual void StopWatching(const base::Closure& stopped_callback);
|
|
|
| // Implemented by each platform. This message loop should be an IO message
|
| // loop.
|
|
|