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

Unified Diff: remoting/client/ios/facade/remoting_service.h

Issue 2681173002: Adding domain and facade supporting classes for remoting iOS app. (Closed)
Patch Set: Renaming access code to authorization code per spec language. 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 side-by-side diff with in-line comments
Download patch
Index: remoting/client/ios/facade/remoting_service.h
diff --git a/remoting/client/ios/facade/remoting_service.h b/remoting/client/ios/facade/remoting_service.h
new file mode 100644
index 0000000000000000000000000000000000000000..b07147490ab0e0c6331039a36331eaa4a760396c
--- /dev/null
+++ b/remoting/client/ios/facade/remoting_service.h
@@ -0,0 +1,22 @@
+// 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_REMOTING_SERCICE_H_
+#define REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_
+
+#import "remoting/client/ios/domain/host.h"
+#import "remoting/client/ios/domain/user.h"
+
+@interface RemotingService : NSObject
+
++ (RemotingService*)sharedInstance;
+
+- (BOOL)isAuthenticated;
+- (void)authenticateWithAuthorizationCode:(NSString*)authorizationCode;
+- (User*)getUser;
+- (NSArray<Host*>*)getHosts;
+
+@end
+
+#endif // REMOTING_CLIENT_IOS_FACADE_REMOTING_SERCICE_H_

Powered by Google App Engine
This is Rietveld 408576698