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

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

Issue 2681173002: Adding domain and facade supporting classes for remoting iOS app. (Closed)
Patch Set: Created 3 years, 10 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_SERCICE_H_
6 #define REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_
7
8 #import "remoting/client/ios/domain/host.h"
9 #import "remoting/client/ios/domain/user.h"
10
11 @interface RemotingService : NSObject
12
13 + (RemotingService*)sharedInstance;
14
15 - (BOOL)isAuthenticated;
16 - (void)authenticateWithAccessCode:(NSString*)accessCode;
Sergey Ulanov 2017/02/09 00:52:37 In OAuth it's usually referred to as access token,
nicholss 2017/02/09 16:12:40 I was attempting to name this component: https://t
17 - (User*)getUser;
18 - (NSArray<Host*>*)getHosts;
Sergey Ulanov 2017/02/09 00:52:37 This interface handles getting user info and getti
Sergey Ulanov 2017/02/09 00:52:37 Will this the thread while the request is pending?
nicholss 2017/02/09 16:12:40 Yes, combining two services into one common endpoi
nicholss 2017/02/09 16:12:40 The intent is to make a call into a C++ class that
19
20 @end
21
22 #endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698