| Index: remoting/host/plugin/host_script_object.h
|
| diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h
|
| index 482c987e8aaf90d35c8433424d366f4db429e6fe..c7083febb46ba97db7f05f5c141c34886f0e08df 100644
|
| --- a/remoting/host/plugin/host_script_object.h
|
| +++ b/remoting/host/plugin/host_script_object.h
|
| @@ -212,19 +212,19 @@ class HostNPScriptObject : public HostStatusObserver {
|
| // Helper methods for Me2Me host.
|
|
|
| // Helpers for GenerateKeyPair().
|
| - void DoGenerateKeyPair(NPObject* callback);
|
| - void InvokeGenerateKeyPairCallback(NPObject* callback,
|
| + void DoGenerateKeyPair(const ScopedRefNPObject& callback);
|
| + void InvokeGenerateKeyPairCallback(const ScopedRefNPObject& callback,
|
| const std::string& private_key,
|
| const std::string& public_key);
|
|
|
|
|
| // Callback handler for SetConfigAndStart(), Stop() and SetPin() in
|
| // DaemonController.
|
| - void InvokeAsyncResultCallback(NPObject* callback,
|
| + void InvokeAsyncResultCallback(const ScopedRefNPObject& callback,
|
| DaemonController::AsyncResult result);
|
|
|
| // Callback handler for DaemonController::GetConfig().
|
| - void InvokeGetDaemonConfigCallback(NPObject* callback,
|
| + void InvokeGetDaemonConfigCallback(const ScopedRefNPObject& callback,
|
| scoped_ptr<base::DictionaryValue> config);
|
|
|
| //////////////////////////////////////////////////////////
|
|
|