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

Side by Side Diff: remoting/ios/host_refresh.h

Issue 475333004: Remove old Chromoting iOS client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « remoting/ios/host_preferences.h ('k') | remoting/ios/host_refresh.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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_IOS_HOST_REFRESH_H_
6 #define REMOTING_IOS_HOST_REFRESH_H_
7
8 #import <Foundation/Foundation.h>
9
10 #import "GTMOAuth2Authentication.h"
11
12 // HostRefresh encapsulates a fetch of the Chromoting host list from
13 // the jabber service.
14
15 // Contract to handle the host list result of a Chromoting host list fetch.
16 @protocol HostRefreshDelegate<NSObject>
17
18 - (void)hostListRefresh:(NSArray*)hostList errorMessage:(NSString*)errorMessage;
19
20 @end
21
22 // Fetches the host list from the jabber service async. Authenticates,
23 // and parses the results to provide to a HostListViewController
24 @interface HostRefresh : NSObject<NSURLConnectionDataDelegate>
25
26 // Store data read while the connection is active, and can be used after the
27 // connection has been discarded
28 @property(nonatomic, copy) NSMutableData* jsonData;
29 @property(nonatomic, copy) NSString* errorMessage;
30 @property(nonatomic, assign) id<HostRefreshDelegate> delegate;
31
32 - (void)refreshHostList:(GTMOAuth2Authentication*)authReq
33 delegate:(id<HostRefreshDelegate>)delegate;
34
35 @end
36
37 #endif // REMOTING_IOS_HOST_REFRESH_H_
OLDNEW
« no previous file with comments | « remoting/ios/host_preferences.h ('k') | remoting/ios/host_refresh.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698