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

Unified Diff: remoting/ios/app/main.mm

Issue 2949713002: [CRD iOS] Refactor an interface for RemotingAuthorization (Closed)
Patch Set: Resolve feedback Created 3 years, 6 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/ios/app/main.mm
diff --git a/remoting/ios/app/main.mm b/remoting/ios/app/main.mm
index 611fee9bc5f658ccd59990fe052aa88a53f1e819..717c5498fc99af1419f96fe1feab7f7e5f465166 100644
--- a/remoting/ios/app/main.mm
+++ b/remoting/ios/app/main.mm
@@ -12,6 +12,8 @@
#include "base/command_line.h"
#include "base/i18n/icu_util.h"
#import "remoting/ios/app/app_delegate.h"
+#import "remoting/ios/facade/remoting_oauth_authentication.h"
+#import "remoting/ios/facade/remoting_service.h"
int main(int argc, char* argv[]) {
// This class is designed to fulfill the dependents needs when it goes out of
@@ -31,6 +33,8 @@ int main(int argc, char* argv[]) {
#endif
@autoreleasepool {
+ RemotingService.instance.authentication =
+ [[RemotingOAuthAuthentication alloc] init];
return UIApplicationMain(
argc, argv, nil, NSStringFromClass([AppDelegate class]));
}

Powered by Google App Engine
This is Rietveld 408576698