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

Unified Diff: webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.h

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/RTCICECandidate+JSON.m ('k') | webrtc/examples/objc/AppRTCDemo/RTCICEServer+JSON.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698