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

Side by Side Diff: remoting/client/ios/facade/remoting_service.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
(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_REMOTING_SERVICE_H_
6 #define REMOTING_CLIENT_IOS_FACADE_REMOTING_SERVICE_H_
7
8 #import "remoting/client/chromoting_client_runtime.h"
9
10 #include "base/memory/weak_ptr.h"
11 #include "remoting/base/oauth_token_getter.h"
12
13 @class HostInfo;
14 @class UserInfo;
15 @class RemotingAuthentication;
16
17 // Eventing related keys:
18
19 // Hosts did update event.
20 extern NSString* const kHostsDidUpdate;
21 // User did update event name.
22 extern NSString* const kUserDidUpdate;
23 // Map key for UserInfo object.
24 extern NSString* const kUserInfo;
25
26 // |RemotingService| is the centralized place to ask for information about
27 // authentication or query the remote services. It also helps deal with the
28 // runtime and threading used in the application. |RemotingService| is a
29 // singleton and should only be accessed via the |SharedInstance| method.
30 @interface RemotingService : NSObject
31
32 // Access to the singleton shared instance from this method.
33 + (RemotingService*)SharedInstance;
34
35 // Start a request to fetch the host list. This will produce an notification on
36 // |kHostsDidUpdate| when a new host is ready.
37 - (void)requestHostListFetch;
38
39 @property(nonatomic, readonly) RemotingAuthentication* authentication;
40
41 // Returns the current host list.
42 @property(nonatomic, readonly) NSArray<HostInfo*>* hosts;
43
44 // The Chromoting Client Runtime, this holds the threads and other shared
45 // resources used by the Chromoting clients
46 @property(nonatomic, readonly) remoting::ChromotingClientRuntime* runtime;
47
48 @end
49
50 #endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_SERVICE_H_
OLDNEW
« no previous file with comments | « remoting/client/ios/facade/remoting_authentication.mm ('k') | remoting/client/ios/facade/remoting_service.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698