Index: webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.h |
diff --git a/webrtc/base/asyncresolverinterface.cc b/webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.h |
similarity index 52% |
copy from webrtc/base/asyncresolverinterface.cc |
copy to webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.h |
index 7ee02f153ee6b93f8f3cffbd8d4a24653869ad8c..10339e7a3deecf1f50c94c08ed5544a4436e5068 100644 |
--- a/webrtc/base/asyncresolverinterface.cc |
+++ b/webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
+ * Copyright 2014 The WebRTC Project Authors. All rights reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -8,13 +8,12 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#include "webrtc/base/asyncresolverinterface.h" |
+#import "RTCICEServer.h" |
-namespace rtc { |
+@interface RTCICEServer (JSON) |
-AsyncResolverInterface::AsyncResolverInterface() { |
-} |
++ (RTCICEServer *)serverFromJSONDictionary:(NSDictionary *)dictionary; |
+// CEOD provides different JSON, and this parses that. |
++ (NSArray *)serversFromCEODJSONDictionary:(NSDictionary *)dictionary; |
-AsyncResolverInterface::~AsyncResolverInterface() = default; |
- |
-}; // namespace rtc |
+@end |