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

Unified Diff: remoting/ios/authorize.h

Issue 278863003: Chromoting iOS client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/app_delegate.mm ('k') | remoting/ios/authorize.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/authorize.h
diff --git a/remoting/ios/authorize.h b/remoting/ios/authorize.h
new file mode 100644
index 0000000000000000000000000000000000000000..1b3e0eab657d403e85e16b860a9e6eec806894e2
--- /dev/null
+++ b/remoting/ios/authorize.h
@@ -0,0 +1,30 @@
+// Copyright 2014 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_IOS_AUTHORIZE_H_
+#define REMOTING_IOS_AUTHORIZE_H_
+
+#import <UIKit/UIKit.h>
+
+// TODO (aboone) This include is for The Google Toolbox for Mac OAuth 2
+// https://code.google.com/p/gtm-oauth2/ This may need to be added as a
+// third-party or locate the proper project in Chromium.
+#import "GTMOAuth2Authentication.h"
+
+@interface Authorize : NSObject
+
++ (GTMOAuth2Authentication*)getAnyExistingAuthorization;
+
++ (void)beginRequest:(GTMOAuth2Authentication*)authorization
+ delegate:self
+ didFinishSelector:(SEL)sel;
+
++ (void)appendCredentials:(NSMutableURLRequest*)request;
+
++ (UINavigationController*)createLoginController:(id)delegate
+ finishedSelector:(SEL)finishedSelector;
+
+@end
+
+#endif // REMOTING_IOS_AUTHORIZE_H_
« no previous file with comments | « remoting/ios/app_delegate.mm ('k') | remoting/ios/authorize.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698