| Index: remoting/client/ios/facade/ios_client_runtime_delegate.h
|
| diff --git a/remoting/client/ios/facade/ios_client_runtime_delegate.h b/remoting/client/ios/facade/ios_client_runtime_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..032f3b7f43454eb24c52b041681d67f9a95b3dac
|
| --- /dev/null
|
| +++ b/remoting/client/ios/facade/ios_client_runtime_delegate.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
|
| +#define REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| +#include "remoting/client/chromoting_client_runtime.h"
|
| +
|
| +namespace remoting {
|
| +
|
| +class IosClientRuntimeDelegate : public ChromotingClientRuntime::Delegate {
|
| + public:
|
| + IosClientRuntimeDelegate();
|
| + ~IosClientRuntimeDelegate() override;
|
| +
|
| + // remoting::ChromotingClientRuntime::Delegate overrides.
|
| + void RuntimeWillShutdown() override;
|
| + void RuntimeDidShutdown() override;
|
| + void RequestAuthTokenForLogger() override;
|
| +
|
| + base::WeakPtr<IosClientRuntimeDelegate> GetWeakPtr();
|
| +
|
| + private:
|
| + ChromotingClientRuntime* runtime_;
|
| +
|
| + base::WeakPtrFactory<IosClientRuntimeDelegate> weak_factory_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(IosClientRuntimeDelegate);
|
| +};
|
| +
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_CLIENT_IOS_FACADE_CLIENT_RUNTIME_DELEGATE_H_
|
|
|