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

Side by Side Diff: remoting/client/ios/facade/ios_client_runtime_delegate.h

Issue 2829673003: Adding a Client Runtime Delegate for iOS (Closed)
Patch Set: Moving removing_service change to gl related cl. Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
6 #define REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
7
8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h"
10 #include "remoting/client/chromoting_client_runtime.h"
11
12 namespace remoting {
13
14 class IosClientRuntimeDelegate : public ChromotingClientRuntime::Delegate {
15 public:
16 IosClientRuntimeDelegate();
17 ~IosClientRuntimeDelegate() override;
18
19 // remoting::ChromotingClientRuntime::Delegate overrides.
20 void RuntimeWillShutdown() override;
21 void RuntimeDidShutdown() override;
22 void RequestAuthTokenForLogger() override;
23
24 base::WeakPtr<IosClientRuntimeDelegate> GetWeakPtr();
25
26 private:
27 ChromotingClientRuntime* runtime_;
28
29 base::WeakPtrFactory<IosClientRuntimeDelegate> weak_factory_;
30
31 DISALLOW_COPY_AND_ASSIGN(IosClientRuntimeDelegate);
32 };
33
34 } // namespace remoting
35
36 #endif // REMOTING_CLIENT_IOS_FACADE_CLIENT_RUNTIME_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698