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

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

Issue 2871993003: Moving the iOS directory to be remoting top level. (Closed)
Patch Set: //remoting/ios was the old landing target for the internal iOS application. Fix. Created 3 years, 7 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
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_ 5 #ifndef REMOTING_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
6 #define REMOTING_CLIENT_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_ 6 #define REMOTING_IOS_FACADE_IOS_CLIENT_RUNTIME_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "remoting/client/chromoting_client_runtime.h" 10 #include "remoting/client/chromoting_client_runtime.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 class IosClientRuntimeDelegate : public ChromotingClientRuntime::Delegate { 14 class IosClientRuntimeDelegate : public ChromotingClientRuntime::Delegate {
15 public: 15 public:
16 IosClientRuntimeDelegate(); 16 IosClientRuntimeDelegate();
17 ~IosClientRuntimeDelegate() override; 17 ~IosClientRuntimeDelegate() override;
18 18
19 // remoting::ChromotingClientRuntime::Delegate overrides. 19 // remoting::ChromotingClientRuntime::Delegate overrides.
20 void RuntimeWillShutdown() override; 20 void RuntimeWillShutdown() override;
21 void RuntimeDidShutdown() override; 21 void RuntimeDidShutdown() override;
22 void RequestAuthTokenForLogger() override; 22 void RequestAuthTokenForLogger() override;
23 23
24 base::WeakPtr<IosClientRuntimeDelegate> GetWeakPtr(); 24 base::WeakPtr<IosClientRuntimeDelegate> GetWeakPtr();
25 25
26 private: 26 private:
27 ChromotingClientRuntime* runtime_; 27 ChromotingClientRuntime* runtime_;
28 28
29 base::WeakPtrFactory<IosClientRuntimeDelegate> weak_factory_; 29 base::WeakPtrFactory<IosClientRuntimeDelegate> weak_factory_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(IosClientRuntimeDelegate); 31 DISALLOW_COPY_AND_ASSIGN(IosClientRuntimeDelegate);
32 }; 32 };
33 33
34 } // namespace remoting 34 } // namespace remoting
35 35
36 #endif // REMOTING_CLIENT_IOS_FACADE_CLIENT_RUNTIME_DELEGATE_H_ 36 #endif // REMOTING_IOS_FACADE_CLIENT_RUNTIME_DELEGATE_H_
OLDNEW
« no previous file with comments | « remoting/ios/facade/host_list_fetcher.cc ('k') | remoting/ios/facade/ios_client_runtime_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698