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

Unified Diff: remoting/client/ios/domain/host_info.h

Issue 2854273002: [CRD iOS] Implementing save to keychain and user defaults for login info. Refactor remoting service. (Closed)
Patch Set: Removing authenticate with refresh token from pub api. Created 3 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/client/ios/app/remoting_view_controller.mm ('k') | remoting/client/ios/domain/user_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ios/domain/host_info.h
diff --git a/remoting/client/ios/domain/host_info.h b/remoting/client/ios/domain/host_info.h
index a897f8ba7b0e9b22d780c5281fa0fba820ab30c0..ad646a1b28cf29815ebfd3ec9bf953013d2a4243 100644
--- a/remoting/client/ios/domain/host_info.h
+++ b/remoting/client/ios/domain/host_info.h
@@ -23,6 +23,8 @@
// True when |status| is @"ONLINE", anything else is False.
@property(nonatomic, readonly) bool isOnline;
+// Convert a json blob into a |HostInfo| object. Most useful for test.
+// TODO(nicholss): Might move this out into a catagory.
+ (NSMutableArray<HostInfo*>*)parseListFromJSON:(NSMutableData*)data;
// First consider if |isOnline| is greater than anything else, then consider by
« no previous file with comments | « remoting/client/ios/app/remoting_view_controller.mm ('k') | remoting/client/ios/domain/user_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698